1
Fork 0

Implement RFC 839

Closes #25976.
This commit is contained in:
Johannes Oertel 2015-06-03 12:38:42 +02:00
parent a5979be9fe
commit b36ed7d2ed
22 changed files with 291 additions and 1 deletions

View file

@ -2284,7 +2284,7 @@ fn render_assoc_items(w: &mut fmt::Formatter,
}
try!(write!(w, "<h2 id='implementations'>Trait \
Implementations</h2>"));
let (derived, manual): (Vec<_>, _) = traits.iter().partition(|i| {
let (derived, manual): (Vec<_>, Vec<&Impl>) = traits.iter().partition(|i| {
i.impl_.derived
});
for i in &manual {