about summary refs log tree commit diff
path: root/src/libsyntax/util
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-09-02 01:35:58 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-09-03 23:10:38 -0400
commitb7bfe04b2d003d08f6ac450f41d7f221cb87f129 (patch)
tree0bb355348f8f89601ad778d494f22e5f004912da /src/libsyntax/util
parentd59d97cbec6807166bc237d6f3f9bd1eeb5288d7 (diff)
downloadrust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.tar.gz
rust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.zip
Fix spelling errors and capitalization.
Diffstat (limited to 'src/libsyntax/util')
-rw-r--r--src/libsyntax/util/parser_testing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/util/parser_testing.rs b/src/libsyntax/util/parser_testing.rs
index f50739a7069..7b96cf3c60d 100644
--- a/src/libsyntax/util/parser_testing.rs
+++ b/src/libsyntax/util/parser_testing.rs
@@ -81,9 +81,9 @@ pub fn strs_to_idents(ids: Vec<&str> ) -> Vec<ast::Ident> {
 
 /// Does the given string match the pattern? whitespace in the first string
 /// may be deleted or replaced with other whitespace to match the pattern.
-/// this function is unicode-ignorant; fortunately, the careful design of
+/// this function is Unicode-ignorant; fortunately, the careful design of
 /// UTF-8 mitigates this ignorance.  In particular, this function only collapses
-/// sequences of \n, \r, ' ', and \t, but it should otherwise tolerate unicode
+/// sequences of \n, \r, ' ', and \t, but it should otherwise tolerate Unicode
 /// chars. Unsurprisingly, it doesn't do NKF-normalization(?).
 pub fn matches_codepattern(a : &str, b : &str) -> bool {
     let mut idx_a = 0;