diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-01 11:24:42 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-03 10:39:23 -0800 |
| commit | c765a8e7ad314651b92ff860cda0159c79dbec6e (patch) | |
| tree | 5cb922f942920dc7d6b0f3606e9cd914360b2707 /src/libstd/path | |
| parent | f9a32cdabc1680b89bd7b579dc1e3f8f18c28257 (diff) | |
| download | rust-c765a8e7ad314651b92ff860cda0159c79dbec6e.tar.gz rust-c765a8e7ad314651b92ff860cda0159c79dbec6e.zip | |
Fixing remaining warnings and errors throughout
Diffstat (limited to 'src/libstd/path')
| -rw-r--r-- | src/libstd/path/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path/mod.rs b/src/libstd/path/mod.rs index 190cf5745f4..4aa4a3feab1 100644 --- a/src/libstd/path/mod.rs +++ b/src/libstd/path/mod.rs @@ -533,7 +533,7 @@ pub struct Display<'a, P> { } impl<'a, P: GenericPath> fmt::Show for Display<'a, P> { - fn fmt(d: &Display<P>, f: &mut fmt::Formatter) -> fmt::Display { + fn fmt(d: &Display<P>, f: &mut fmt::Formatter) -> fmt::Result { d.with_str(|s| f.pad(s)) } } |
