about summary refs log tree commit diff
path: root/src/liballoc/collections/linked_list
diff options
context:
space:
mode:
authorAlexander Regueiro <alexreg@me.com>2019-09-05 17:15:28 +0100
committerAlexander Regueiro <alexreg@me.com>2019-09-06 16:02:25 +0100
commitb0006dff1041f0eea718ca29607cd6ec372e4e30 (patch)
treede6d8a0d438052c300a561078082bb1f2d62c203 /src/liballoc/collections/linked_list
parent1fb3c4ec7ca37d33bd1e68cce669d171c2752615 (diff)
downloadrust-b0006dff1041f0eea718ca29607cd6ec372e4e30.tar.gz
rust-b0006dff1041f0eea718ca29607cd6ec372e4e30.zip
A few cosmetic improvements to code & comments in liballoc and libcore
Diffstat (limited to 'src/liballoc/collections/linked_list')
-rw-r--r--src/liballoc/collections/linked_list/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/collections/linked_list/tests.rs b/src/liballoc/collections/linked_list/tests.rs
index 9a6c57d2869..ecb5948f11b 100644
--- a/src/liballoc/collections/linked_list/tests.rs
+++ b/src/liballoc/collections/linked_list/tests.rs
@@ -102,8 +102,8 @@ fn test_append() {
         assert_eq!(m.pop_front(), Some(elt))
     }
     assert_eq!(n.len(), 0);
-    // let's make sure it's working properly, since we
-    // did some direct changes to private members
+    // Let's make sure it's working properly, since we
+    // did some direct changes to private members.
     n.push_back(3);
     assert_eq!(n.len(), 1);
     assert_eq!(n.pop_front(), Some(3));