Skip to content

Commit 4bbff94

Browse files
committed
Auto merge of #340 - robinst:patch-3, r=BurntSushi
Fix typo in comment (UTC -> UTS)
2 parents df48ddc + de011ea commit 4bbff94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regex-syntax/src/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,7 @@ mod tests {
22252225
fn class_special_escaped_set_chars() {
22262226
// These tests ensure that some special characters require escaping
22272227
// for use in character classes. The intention is to use these
2228-
// characters to implement sets as described in UTC#18 RL1.3. Once
2228+
// characters to implement sets as described in UTS#18 RL1.3. Once
22292229
// that's done, these tests should be removed and replaced with others.
22302230
assert_eq!(p(r"[\[]"), Expr::Class(class(&[('[', '[')])));
22312231
assert_eq!(p(r"[&]"), Expr::Class(class(&[('&', '&')])));
@@ -2801,7 +2801,7 @@ mod tests {
28012801
fn error_class_unsupported_char() {
28022802
// These tests ensure that some unescaped special characters are
28032803
// rejected in character classes. The intention is to use these
2804-
// characters to implement sets as described in UTC#18 RL1.3. Once
2804+
// characters to implement sets as described in UTS#18 RL1.3. Once
28052805
// that's done, these tests should be removed and replaced with others.
28062806
test_err!("[[]", 1, ErrorKind::UnsupportedClassChar('['));
28072807
test_err!("[&&]", 2, ErrorKind::UnsupportedClassChar('&'));

0 commit comments

Comments
 (0)