about summary refs log tree commit diff
path: root/src/libregex
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-06-09 00:00:52 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-06-10 11:24:17 -0400
commitc2c99463720e758d5aa0bdcea19dc5b3dd67292c (patch)
treeb6744e6d280594324f1f22fe8b76ccd03f7eedb0 /src/libregex
parent0ee6a8e8a564ec0134ebdc0869fab5e4bb28024c (diff)
downloadrust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.tar.gz
rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.zip
Fix more misspelled comments and strings.
Diffstat (limited to 'src/libregex')
-rw-r--r--src/libregex/compile.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libregex/compile.rs b/src/libregex/compile.rs
index 91bbb23c337..ea472abeee6 100644
--- a/src/libregex/compile.rs
+++ b/src/libregex/compile.rs
@@ -34,7 +34,7 @@ pub enum Inst {
 
     // The CharClass instruction tries to match one input character against
     // the range of characters given.
-    // The flags indicate whether to do a case insentivie match and whether
+    // The flags indicate whether to do a case insensitive match and whether
     // the character class is negated or not.
     CharClass(Vec<(char, char)>, Flags),
 
@@ -48,7 +48,7 @@ pub enum Inst {
     EmptyBegin(Flags),
 
     // Matches the end of the string, consumes no characters.
-    // The flags indicate whether it matches if the proceding character
+    // The flags indicate whether it matches if the proceeding character
     // is a new line.
     EmptyEnd(Flags),