diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:18:59 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:18:59 -0800 |
| commit | a204dc56c97f35632575b1baa008f2e069b1bed9 (patch) | |
| tree | b55c302f46d0adb457d3ce2f250bc0b1209d0996 /src/libstd/path | |
| parent | a6bf7676a545f72cef2e3d042b6d0409f295693a (diff) | |
| parent | 9851b4fbbf327bb1baab3182ce92970d4db22c6c (diff) | |
| download | rust-a204dc56c97f35632575b1baa008f2e069b1bed9.tar.gz rust-a204dc56c97f35632575b1baa008f2e069b1bed9.zip | |
rollup merge of #20722: alexcrichton/audit-show
Conflicts: src/libcollections/vec.rs src/libcore/fmt/mod.rs src/librustdoc/html/format.rs
Diffstat (limited to 'src/libstd/path')
| -rw-r--r-- | src/libstd/path/posix.rs | 2 | ||||
| -rw-r--r-- | src/libstd/path/windows.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs index b13278205b4..c6c17212b7d 100644 --- a/src/libstd/path/posix.rs +++ b/src/libstd/path/posix.rs @@ -60,7 +60,7 @@ pub fn is_sep(c: char) -> bool { impl fmt::Show for Path { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "Path {{ {} }}", self.display()) + fmt::Show::fmt(&self.display(), f) } } diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs index 0a43c7b5140..31d1cb983ed 100644 --- a/src/libstd/path/windows.rs +++ b/src/libstd/path/windows.rs @@ -87,7 +87,7 @@ pub struct Path { impl fmt::Show for Path { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "Path {{ {} }}", self.display()) + fmt::Show::fmt(&self.display(), f) } } |
