From 12d199be7798e31f25f73d4cfd19a88c5a41dba4 Mon Sep 17 00:00:00 2001
From: sharnoff <github@max.sharnoff.org>
Date: Sun, 1 Aug 2021 19:48:26 -0700
Subject: [PATCH] Add missing "allocated object" doc link

---
 library/core/src/ptr/mut_ptr.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/library/core/src/ptr/mut_ptr.rs b/library/core/src/ptr/mut_ptr.rs
index 32b6920b59d22..98a4cb59a6629 100644
--- a/library/core/src/ptr/mut_ptr.rs
+++ b/library/core/src/ptr/mut_ptr.rs
@@ -596,6 +596,7 @@ impl<T: ?Sized> *mut T {
     /// enables more aggressive compiler optimizations.
     ///
     /// [`wrapping_add`]: #method.wrapping_add
+    /// [allocated object]: crate::ptr#allocated-object
     ///
     /// # Examples
     ///