Просмотр исходного кода

Apprently "cannot" and "can not" are not identical.

https://github.com/servo/rust-url/pull/52#commitcomment-8664907
Simon Sapin 12 лет назад
Родитель
Сommit
a838a41263
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      src/parser.rs

+ 8 - 8
src/parser.rs

@@ -67,14 +67,14 @@ simple_enum_error! {
     RelativeUrlWithoutBase => "relative URL without a base",
     RelativeUrlWithoutBase => "relative URL without a base",
     RelativeUrlWithNonRelativeBase => "relative URL with a non-relative base",
     RelativeUrlWithNonRelativeBase => "relative URL with a non-relative base",
     NonAsciiDomainsNotSupportedYet => "non-ASCII domains are not supported yet",
     NonAsciiDomainsNotSupportedYet => "non-ASCII domains are not supported yet",
-    CannotSetJavascriptFragment => "can not set fragment on javascript: URL",
-    CannotSetPortWithFileLikeScheme => "can not set port with file-like scheme",
-    CannotSetUsernameWithNonRelativeScheme => "can not set username with non-relative scheme",
-    CannotSetPasswordWithNonRelativeScheme => "can not set password with non-relative scheme",
-    CannotSetHostPortWithNonRelativeScheme => "can not set host and port with non-relative scheme",
-    CannotSetHostWithNonRelativeScheme => "can not set host with non-relative scheme",
-    CannotSetPortWithNonRelativeScheme => "can not set port with non-relative scheme",
-    CannotSetPathWithNonRelativeScheme => "can not set path with non-relative scheme",
+    CannotSetJavascriptFragment => "cannot set fragment on javascript: URL",
+    CannotSetPortWithFileLikeScheme => "cannot set port with file-like scheme",
+    CannotSetUsernameWithNonRelativeScheme => "cannot set username with non-relative scheme",
+    CannotSetPasswordWithNonRelativeScheme => "cannot set password with non-relative scheme",
+    CannotSetHostPortWithNonRelativeScheme => "cannot set host and port with non-relative scheme",
+    CannotSetHostWithNonRelativeScheme => "cannot set host with non-relative scheme",
+    CannotSetPortWithNonRelativeScheme => "cannot set port with non-relative scheme",
+    CannotSetPathWithNonRelativeScheme => "cannot set path with non-relative scheme",
 }
 }
 
 
 impl Show for ParseError {
 impl Show for ParseError {