]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/ascii.rs
std: Remove format_strbuf!()
[rust.git] / src / libstd / ascii.rs
index 55bbf4ddf75ab90774f59068a3c3490b921361cd..75b31f9c354307751523a798178fd9ef20225350 100644 (file)
@@ -783,6 +783,6 @@ fn test_to_str() {
     #[test]
     fn test_show() {
         let c = Ascii { chr: 't' as u8 };
-        assert_eq!(format_strbuf!("{}", c), "t".to_string());
+        assert_eq!(format!("{}", c), "t".to_string());
     }
 }