From 618c805746dbbc874afa538f97fc5f643aa9f6dc Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Wed, 30 Jun 2021 19:59:39 +0100 Subject: Remove alloc/malloc/calloc/realloc doc aliases --- library/alloc/src/string.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'library/alloc/src/string.rs') diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index a34f530762d..a9c627534fd 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -419,8 +419,6 @@ impl String { /// ``` #[cfg(not(no_global_oom_handling))] #[inline] - #[doc(alias = "alloc")] - #[doc(alias = "malloc")] #[stable(feature = "rust1", since = "1.0.0")] pub fn with_capacity(capacity: usize) -> String { String { vec: Vec::with_capacity(capacity) } -- cgit 1.4.1-3-g733a5