about summary refs log tree commit diff
path: root/src/libsyntax/util/parser_testing.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-04 18:30:59 +0000
committerbors <bors@rust-lang.org>2014-09-04 18:30:59 +0000
commitd3e7922ddd5f2abfa4d5139e8bca5fab3e796f33 (patch)
tree1b6d41765ea51745549db326611a726287f20958 /src/libsyntax/util/parser_testing.rs
parentbef51ba234a42c52939bcb0f8a5deb7c345d8eba (diff)
parentb7bfe04b2d003d08f6ac450f41d7f221cb87f129 (diff)
downloadrust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.tar.gz
rust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.zip
auto merge of #16982 : jbcrail/rust/comment-and-string-corrections, r=alexcrichton
I corrected spelling and capitalization errors in comments and strings.
Diffstat (limited to 'src/libsyntax/util/parser_testing.rs')
-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;