about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-29 03:31:39 -0700
committerbors <bors@rust-lang.org>2014-05-29 03:31:39 -0700
commitff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768 (patch)
tree4912545d81ef12954c9204cf7c9a98b5ae16911e /src/libstd/path
parentd35a38087088301aa58f244ae99d48b282df6fb2 (diff)
parent42aed6bde2fb05a262e21334656cdf91f51744dd (diff)
downloadrust-ff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768.tar.gz
rust-ff2bf58e9e0c1e7b154b88fc7ba8c52584e9f768.zip
auto merge of #14481 : alexcrichton/rust/no-format-strbuf, r=sfackler
* Removes `format_strbuf!()`
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/windows.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index 1fc2fa1d221..88c3e9def8c 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -900,7 +900,7 @@ pub fn make_non_verbatim(path: &Path) -> Option<Path> {
         }
         Some(VerbatimUNCPrefix(_,_)) => {
             // \\?\UNC\server\share
-            Path::new(format_strbuf!(r"\\{}", repr.slice_from(7)))
+            Path::new(format!(r"\\{}", repr.slice_from(7)))
         }
     };
     if new_path.prefix.is_none() {