about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Kalbertodt <lukas.kalbertodt@gmail.com>2017-09-29 16:55:31 +0200
committerLukas Kalbertodt <lukas.kalbertodt@gmail.com>2017-11-03 21:27:40 +0100
commitf373916cb55be160faa9fc8ae41483b3bebec850 (patch)
treec6513d0664c7b78906d4b1037af6f619219b898a
parent3b13b663510d61109e2b22f2f9dcd7d1ae785e91 (diff)
Add missing space in match arm
-rw-r--r--src/libcore/num/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index c045a8fedda..ed8a2a0e553 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -2734,7 +2734,7 @@ impl u8 {
     pub fn is_ascii_whitespace(&self) -> bool {
         if *self >= 0x80 { return false; }
         match ASCII_CHARACTER_CLASS[*self as usize] {
-            Cw|W => true,
+            Cw | W => true,
             _ => false
         }
     }
@@ -2772,7 +2772,7 @@ impl u8 {
     pub fn is_ascii_control(&self) -> bool {
         if *self >= 0x80 { return false; }
         match ASCII_CHARACTER_CLASS[*self as usize] {
-            C|Cw => true,
+            C | Cw => true,
             _ => false
         }
     }