mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 05:53:10 +00:00
do not to_string, use display
This commit is contained in:
parent
2cf7908998
commit
da4c050bb0
@ -1296,7 +1296,7 @@ impl clean::Impl {
|
||||
self.print_type(inner_type, f, use_absolute, cx)?;
|
||||
write!(f, ">")?;
|
||||
} else {
|
||||
write!(f, "{}<", anchor(ty.def_id(), last, cx).to_string())?;
|
||||
write!(f, "{}<", anchor(ty.def_id(), last, cx))?;
|
||||
self.print_type(inner_type, f, use_absolute, cx)?;
|
||||
write!(f, ">")?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user