about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-07-08 22:41:41 +0200
committerest31 <MTest31@outlook.com>2022-07-08 22:47:07 +0200
commitbdf1d22515ba3a657e2a608e84ded6e5f0c76d1a (patch)
tree19a32e8d1ea7e010f5473e91583eaf7b79ddee91
parent3dcb616888aac50d55160b025266d555dad937d9 (diff)
downloadrust-bdf1d22515ba3a657e2a608e84ded6e5f0c76d1a.tar.gz
rust-bdf1d22515ba3a657e2a608e84ded6e5f0c76d1a.zip
Intra-doc-link-ify reference to Clone::clone_from
-rw-r--r--library/alloc/src/borrow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/borrow.rs b/library/alloc/src/borrow.rs
index 7a79fb77dea..904a53bb4ac 100644
--- a/library/alloc/src/borrow.rs
+++ b/library/alloc/src/borrow.rs
@@ -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
     ///