about summary refs log tree commit diff
path: root/library/alloc/src/string.rs
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2021-06-30 20:25:04 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2021-06-30 20:28:51 +0100
commite2536bb271ead2228f5a7c54db043fe681d61b3f (patch)
treeb1e97bc9b2b0c8427340805335dacfa3231ae180 /library/alloc/src/string.rs
parentfc2705d707db7b219a8af48ee8f5385354ff5da3 (diff)
downloadrust-e2536bb271ead2228f5a7c54db043fe681d61b3f.tar.gz
rust-e2536bb271ead2228f5a7c54db043fe681d61b3f.zip
Remove "length" doc aliases
Diffstat (limited to 'library/alloc/src/string.rs')
-rw-r--r--library/alloc/src/string.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs
index a9c627534fd..f7247e947e4 100644
--- a/library/alloc/src/string.rs
+++ b/library/alloc/src/string.rs
@@ -1532,7 +1532,6 @@ impl String {
     /// assert_eq!(fancy_f.len(), 4);
     /// assert_eq!(fancy_f.chars().count(), 3);
     /// ```
-    #[doc(alias = "length")]
     #[inline]
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn len(&self) -> usize {