diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-09-02 01:35:58 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2014-09-03 23:10:38 -0400 |
| commit | b7bfe04b2d003d08f6ac450f41d7f221cb87f129 (patch) | |
| tree | 0bb355348f8f89601ad778d494f22e5f004912da /src/libregex | |
| parent | d59d97cbec6807166bc237d6f3f9bd1eeb5288d7 (diff) | |
| download | rust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.tar.gz rust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.zip | |
Fix spelling errors and capitalization.
Diffstat (limited to 'src/libregex')
| -rw-r--r-- | src/libregex/lib.rs | 2 | ||||
| -rw-r--r-- | src/libregex/parse.rs | 6 | ||||
| -rw-r--r-- | src/libregex/vm.rs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/libregex/lib.rs b/src/libregex/lib.rs index 1d25a0c31d8..9f15d0a4708 100644 --- a/src/libregex/lib.rs +++ b/src/libregex/lib.rs @@ -381,7 +381,7 @@ extern crate rand; #[cfg(test)] extern crate regex; -// unicode tables for character classes are defined in libunicode +// Unicode tables for character classes are defined in libunicode extern crate unicode; pub use parse::Error; diff --git a/src/libregex/parse.rs b/src/libregex/parse.rs index 13b094a2cf2..c3ce7bbd9f2 100644 --- a/src/libregex/parse.rs +++ b/src/libregex/parse.rs @@ -620,9 +620,9 @@ impl<'a> Parser<'a> { } } - // Parses a unicode character class name, either of the form \pF where - // F is a one letter unicode class name or of the form \p{name} where - // name is the unicode class name. + // Parses a Unicode character class name, either of the form \pF where + // F is a one letter Unicode class name or of the form \p{name} where + // name is the Unicode class name. // Assumes that \p or \P has been read (and 'p' or 'P' is the current // character). fn parse_unicode_name(&mut self) -> Result<Ast, Error> { diff --git a/src/libregex/vm.rs b/src/libregex/vm.rs index 507a7641f22..1adaf9c92a6 100644 --- a/src/libregex/vm.rs +++ b/src/libregex/vm.rs @@ -364,7 +364,7 @@ impl<'t> CharReader<'t> { } /// Sets the previous and current character given any arbitrary byte - /// index (at a unicode codepoint boundary). + /// index (at a Unicode codepoint boundary). #[inline] pub fn set(&mut self, ic: uint) -> uint { self.prev = None; |
