diff options
| author | bors <bors@rust-lang.org> | 2019-08-23 05:11:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-08-23 05:11:41 +0000 |
| commit | 0507d49755b9f506da8770af757704eb5c2b54d7 (patch) | |
| tree | 722fad519cbebfb0232b571008589253fb4c863c /src/liballoc | |
| parent | a71e32e4078f3a8c1ebc2a731e23ac3da3ef73a1 (diff) | |
| parent | d9f3258186cc221b41d2d869671d47fd4b716bbe (diff) | |
| download | rust-0507d49755b9f506da8770af757704eb5c2b54d7.tar.gz rust-0507d49755b9f506da8770af757704eb5c2b54d7.zip | |
Auto merge of #63808 - Rosto75:master, r=KodrAus
A bunch of minor documentation tweaks and fixes.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/collections/vec_deque.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/collections/vec_deque.rs b/src/liballoc/collections/vec_deque.rs index 7315963cc8b..a4a0fbb194d 100644 --- a/src/liballoc/collections/vec_deque.rs +++ b/src/liballoc/collections/vec_deque.rs @@ -1810,7 +1810,7 @@ impl<T> VecDeque<T> { other } - /// Moves all the elements of `other` into `Self`, leaving `other` empty. + /// Moves all the elements of `other` into `self`, leaving `other` empty. /// /// # Panics /// @@ -1847,7 +1847,7 @@ impl<T> VecDeque<T> { /// /// let mut buf = VecDeque::new(); /// buf.extend(1..5); - /// buf.retain(|&x| x%2 == 0); + /// buf.retain(|&x| x % 2 == 0); /// assert_eq!(buf, [2, 4]); /// ``` /// |
