diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index 9b39b223f8e40b7bcab6e344fad7d88c04efbf27..5da451237b443d880307e939bdddafa478d38f1f 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -129,10 +129,10 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { 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 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { try!(write!(f, "{}", lifetime)); } - }, + } &clean::WherePredicate::EqPredicate => { unimplemented!() }