Skip to content

Commit da4c050

Browse files
committed
do not to_string, use display
1 parent 2cf7908 commit da4c050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/librustdoc/html/format.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ impl clean::Impl {
12961296
self.print_type(inner_type, f, use_absolute, cx)?;
12971297
write!(f, ">")?;
12981298
} else {
1299-
write!(f, "{}<", anchor(ty.def_id(), last, cx).to_string())?;
1299+
write!(f, "{}<", anchor(ty.def_id(), last, cx))?;
13001300
self.print_type(inner_type, f, use_absolute, cx)?;
13011301
write!(f, ">")?;
13021302
}

0 commit comments

Comments
 (0)