about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-09 12:52:52 +0200
committerGitHub <noreply@github.com>2022-07-09 12:52:52 +0200
commite89ed4f752dc3aab2f8b88a2caa54a9c70f759dc (patch)
tree241db6f23f0325dad2436b259bd3730940d39f0a
parent140250c4876fbf8b2fc753b70d2ecdc3dee5888f (diff)
parentbdf1d22515ba3a657e2a608e84ded6e5f0c76d1a (diff)
downloadrust-e89ed4f752dc3aab2f8b88a2caa54a9c70f759dc.tar.gz
rust-e89ed4f752dc3aab2f8b88a2caa54a9c70f759dc.zip
Rollup merge of #99067 - est31:to_owned_link, r=Dylan-DPC
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
     ///