From 249eb1c589bd12b2a26d9603460d62d514b59b90 Mon Sep 17 00:00:00 2001 From: Veeupup <931418134@qq.com> Date: Wed, 29 Dec 2021 18:01:17 +0800 Subject: fix typo in btree/vec doc: Self -> self --- library/alloc/src/vec/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/alloc/src/vec') diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 2863da05932..2689c6fd1ac 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -1755,7 +1755,7 @@ impl Vec { } } - /// Moves all the elements of `other` into `Self`, leaving `other` empty. + /// Moves all the elements of `other` into `self`, leaving `other` empty. /// /// # Panics /// @@ -1780,7 +1780,7 @@ impl Vec { } } - /// Appends elements to `Self` from other buffer. + /// Appends elements to `self` from other buffer. #[cfg(not(no_global_oom_handling))] #[inline] unsafe fn append_elements(&mut self, other: *const [T]) { -- cgit 1.4.1-3-g733a5