diff options
| author | klensy <klensy@users.noreply.github.com> | 2024-11-23 23:16:26 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2024-11-23 23:16:26 +0300 |
| commit | da4c050bb01ce992513cefbc25ce254a0e529e97 (patch) | |
| tree | fb39d4c8af6919f650b02e612f9862e1188a6947 /src | |
| parent | 2cf7908998e5010ffdedede39f88fa2590e9c830 (diff) | |
| download | rust-da4c050bb01ce992513cefbc25ce254a0e529e97.tar.gz rust-da4c050bb01ce992513cefbc25ce254a0e529e97.zip | |
do not to_string, use display
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/format.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index 2f9e7976ca1..46bc2915d0a 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -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, ">")?; } |
