diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2021-06-30 19:59:39 +0100 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2021-06-30 19:59:39 +0100 |
| commit | 618c805746dbbc874afa538f97fc5f643aa9f6dc (patch) | |
| tree | 2be60776df27afd62a579e9762a176f5ac89be26 /library/alloc/src/string.rs | |
| parent | 868c702d0c9a471a28fb55f0148eb1e3e8b1dcc5 (diff) | |
| download | rust-618c805746dbbc874afa538f97fc5f643aa9f6dc.tar.gz rust-618c805746dbbc874afa538f97fc5f643aa9f6dc.zip | |
Remove alloc/malloc/calloc/realloc doc aliases
Diffstat (limited to 'library/alloc/src/string.rs')
| -rw-r--r-- | library/alloc/src/string.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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) } |
