]> git.lizzy.rs Git - rust.git/commitdiff
Intra-doc-link-ify reference to Clone::clone_from
authorest31 <MTest31@outlook.com>
Fri, 8 Jul 2022 20:41:41 +0000 (22:41 +0200)
committerest31 <MTest31@outlook.com>
Fri, 8 Jul 2022 20:47:07 +0000 (22:47 +0200)
library/alloc/src/borrow.rs

index 7a79fb77dea554307d289c1b0d02e33e6af47b5e..904a53bb4acc73418e1f3431cba56f4b29057994 100644 (file)
@@ -60,7 +60,7 @@ pub trait ToOwned {
 
     /// Uses borrowed data to replace owned data, usually by cloning.
     ///
-    /// This is borrow-generalized version of `Clone::clone_from`.
+    /// This is borrow-generalized version of [`Clone::clone_from`].
     ///
     /// # Examples
     ///