Skip to content

Commit

Permalink
Address code review nits
Browse files Browse the repository at this point in the history
  • Loading branch information
jroesch committed Dec 24, 2014
1 parent 6948a2d commit 1775292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustdoc/html/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ impl<'a> fmt::Show for WhereClause<'a> {
try!(f.write(", ".as_bytes()));
}
match pred {
&clean::WherePredicate::BoundPredicate {ref ty, ref bounds } => {
&clean::WherePredicate::BoundPredicate { ref ty, ref bounds } => {
let bounds = bounds.as_slice();
try!(write!(f, "{}: {}", ty, TyParamBounds(bounds)));
},
}
&clean::WherePredicate::RegionPredicate { ref lifetime,
ref bounds } => {
try!(write!(f, "{}: ", lifetime));
Expand All @@ -143,7 +143,7 @@ impl<'a> fmt::Show for WhereClause<'a> {

try!(write!(f, "{}", lifetime));
}
},
}
&clean::WherePredicate::EqPredicate => {
unimplemented!()
}
Expand Down

7 comments on commit 1775292

@bors
Copy link
Contributor

@bors bors commented on 1775292 Dec 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at jroesch@1775292

@bors
Copy link
Contributor

@bors bors commented on 1775292 Dec 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging jroesch/rust/clean-where-predicate = 1775292 into auto

@bors
Copy link
Contributor

@bors bors commented on 1775292 Dec 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status: {"merge_sha": "5ba6102657a892457063d2d6a7cbb9632ce282c6"}

@bors
Copy link
Contributor

@bors bors commented on 1775292 Dec 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jroesch/rust/clean-where-predicate = 1775292 merged ok, testing candidate = 5ba6102

@bors
Copy link
Contributor

@bors bors commented on 1775292 Dec 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 5ba6102

@bors
Copy link
Contributor

@bors bors commented on 1775292 Dec 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 5ba6102

Please sign in to comment.