Skip to content

Commit 1775292

Browse files
committed
Address code review nits
1 parent 6948a2d commit 1775292

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/html/format.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ impl<'a> fmt::Show for WhereClause<'a> {
129129
try!(f.write(", ".as_bytes()));
130130
}
131131
match pred {
132-
&clean::WherePredicate::BoundPredicate {ref ty, ref bounds } => {
132+
&clean::WherePredicate::BoundPredicate { ref ty, ref bounds } => {
133133
let bounds = bounds.as_slice();
134134
try!(write!(f, "{}: {}", ty, TyParamBounds(bounds)));
135-
},
135+
}
136136
&clean::WherePredicate::RegionPredicate { ref lifetime,
137137
ref bounds } => {
138138
try!(write!(f, "{}: ", lifetime));
@@ -143,7 +143,7 @@ impl<'a> fmt::Show for WhereClause<'a> {
143143

144144
try!(write!(f, "{}", lifetime));
145145
}
146-
},
146+
}
147147
&clean::WherePredicate::EqPredicate => {
148148
unimplemented!()
149149
}

0 commit comments

Comments
 (0)