do not to_string, use display
This commit is contained in:
parent
2cf7908998
commit
da4c050bb0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue