about summary refs log tree commit diff
path: root/src/libgetopts
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-09 14:08:10 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-11 11:30:38 -0800
commit52edb2ecc9530264dc75babe477fd75c64feac04 (patch)
tree7110ee1e9e8b123ffdd8be4dd1e9b6213b9cb08c /src/libgetopts
parentb25e100173effba685d076cee16f8af150078617 (diff)
downloadrust-52edb2ecc9530264dc75babe477fd75c64feac04.tar.gz
rust-52edb2ecc9530264dc75babe477fd75c64feac04.zip
Register new snapshots
Diffstat (limited to 'src/libgetopts')
-rw-r--r--src/libgetopts/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs
index 9174f8e8456..b809138c451 100644
--- a/src/libgetopts/lib.rs
+++ b/src/libgetopts/lib.rs
@@ -1569,10 +1569,10 @@ Options:
     #[test]
     fn test_usage_description_multibyte_handling() {
         let optgroups = vec!(
-            optflag("k", "k\u2013w\u2013",
+            optflag("k", "k\u{2013}w\u{2013}",
                 "The word kiwi is normally spelled with two i's"),
             optflag("a", "apple",
-                "This \u201Cdescription\u201D has some characters that could \
+                "This \u{201C}description\u{201D} has some characters that could \
 confuse the line wrapping; an apple costs 0.51€ in some parts of Europe."));
 
         let expected =