]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/format.rs
auto merge of #14510 : kballard/rust/rename_strallocating_into_owned, r=alexcrichton
[rust.git] / src / librustdoc / html / format.rs
index 7af1eb21aead0afd80c636da552d73b1b755ccae..3b3f4378d67ad3589ffb42e982b99176965b2f46 100644 (file)
@@ -356,7 +356,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
                                     }
                                 }
                            }
-                           ret.into_owned()
+                           ret
                        })
             }
             clean::Proc(ref decl) => {