diff options
| author | Jared Roesch <roeschinc@gmail.com> | 2014-12-24 00:58:21 -0800 |
|---|---|---|
| committer | Jared Roesch <roeschinc@gmail.com> | 2014-12-24 00:58:21 -0800 |
| commit | 177529267dd12e698435f84557e27307034e211d (patch) | |
| tree | 134200b6c1d0f32385bdca1b27946cd7bb6c2151 | |
| parent | 6948a2df318d1bc2d668d8b29a653f15db1653d8 (diff) | |
| download | rust-177529267dd12e698435f84557e27307034e211d.tar.gz rust-177529267dd12e698435f84557e27307034e211d.zip | |
Address code review nits
| -rw-r--r-- | src/librustdoc/html/format.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index 9b39b223f8e..5da451237b4 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -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)); @@ -143,7 +143,7 @@ impl<'a> fmt::Show for WhereClause<'a> { try!(write!(f, "{}", lifetime)); } - }, + } &clean::WherePredicate::EqPredicate => { unimplemented!() } |
