about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-28 09:24:28 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-11 16:04:24 -0700
commitcac7a2053aba7be214d5e58e13867089638a8f50 (patch)
tree8c0af42bd2ab5237a19c04e9777e433805d600df /src/libtest
parentf9260d41d6e37653bf71b08a041be0310098716a (diff)
downloadrust-cac7a2053aba7be214d5e58e13867089638a8f50.tar.gz
rust-cac7a2053aba7be214d5e58e13867089638a8f50.zip
std: Remove i18n/l10n from format!
* The select/plural methods from format strings are removed
* The # character no longer needs to be escaped
* The \-based escapes have been removed
* '{{' is now an escape for '{'
* '}}' is now an escape for '}'

Closes #14810
[breaking-change]
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/stats.rs b/src/libtest/stats.rs
index c6a45b651ef..d07e5662feb 100644
--- a/src/libtest/stats.rs
+++ b/src/libtest/stats.rs
@@ -416,7 +416,7 @@ pub fn write_boxplot<T: Float + Show + FromPrimitive>(
         v = v + char_step;
         c += 1;
     }
-    try!(write!(w, r"\#"));
+    try!(write!(w, "#"));
     c += 1;
     while c < range_width && v < q3 {
         try!(write!(w, "*"));