]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/tests/str.rs
Various minor/cosmetic improvements to code
[rust.git] / src / liballoc / tests / str.rs
index 494b36f85417d9fdac22b6c0da9051813376bf46..683ce2bf112454c7659926185be69a90784a8e96 100644 (file)
@@ -1005,7 +1005,7 @@ fn test_escape_debug() {
     // Note that there are subtleties with the number of backslashes
     // on the left- and right-hand sides. In particular, Unicode code points
     // are usually escaped with two backslashes on the right-hand side, as
-    // they are escaped. However, when the character is unescaped (e.g. for
+    // they are escaped. However, when the character is unescaped (e.g., for
     // printable characters), only a single backslash appears (as the character
     // itself appears in the debug string).
     assert_eq!("abc".escape_debug(), "abc");