about summary refs log tree commit diff
path: root/src/libstd/memchr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/memchr.rs')
-rw-r--r--src/libstd/memchr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/memchr.rs b/src/libstd/memchr.rs
index 1d97611eabb..a408b4378e1 100644
--- a/src/libstd/memchr.rs
+++ b/src/libstd/memchr.rs
@@ -239,7 +239,7 @@ mod fallback {
         text[..offset].iter().rposition(|elt| *elt == x)
     }
 
-    // test fallback implementations on all plattforms
+    // test fallback implementations on all platforms
     #[test]
     fn matches_one() {
         assert_eq!(Some(0), memchr(b'a', b"a"));