Fix spelling errors and capitalization.

This commit is contained in:
Joseph Crail
2014-09-02 01:35:58 -04:00
parent d59d97cbec
commit b7bfe04b2d
48 changed files with 64 additions and 64 deletions

View File

@@ -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;

View File

@@ -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> {

View File

@@ -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;