We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
String
1 parent 51e8031 commit 141c542Copy full SHA for 141c542
src/librustdoc/html/format.rs
@@ -141,9 +141,7 @@ crate fn print_generic_bounds<'a, 'tcx: 'a>(
141
display_fn(move |f| {
142
let mut bounds_dup = FxHashSet::default();
143
144
- for (i, bound) in
145
- bounds.iter().filter(|b| bounds_dup.insert(b.print(cx).to_string())).enumerate()
146
- {
+ for (i, bound) in bounds.iter().filter(|b| bounds_dup.insert(b.clone())).enumerate() {
147
if i > 0 {
148
f.write_str(" + ")?;
149
}
0 commit comments