about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-10-14 00:25:34 +0800
committerRageking8 <tomleetyt@gmail.com>2022-10-14 12:57:56 +0800
commit7122abaddf2cf10ce26f86305ff540ae5b38c097 (patch)
tree0b15091f50495c8af2c553c1efee8cd286506a4f /library/alloc
parent4891d57f7aab37b5d6a84f2901c0bb8903111d53 (diff)
downloadrust-7122abaddf2cf10ce26f86305ff540ae5b38c097.tar.gz
rust-7122abaddf2cf10ce26f86305ff540ae5b38c097.zip
more dupe word typos
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/collections/linked_list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/linked_list.rs b/library/alloc/src/collections/linked_list.rs
index 6480fcaf93d..f2f5dffc25d 100644
--- a/library/alloc/src/collections/linked_list.rs
+++ b/library/alloc/src/collections/linked_list.rs
@@ -1613,7 +1613,7 @@ impl<'a, T> CursorMut<'a, T> {
             None
         } else {
             // We can't point to the node that we pop. Copying the behavior of
-            // `remove_current`, we move on the the next node in the sequence.
+            // `remove_current`, we move on to the next node in the sequence.
             // If the list is of length 1 then we end pointing to the "ghost"
             // node at index 0, which is expected.
             if self.list.head == self.current {