diff options
| author | Andre Bogus <bogusandre@gmail.com> | 2018-05-09 01:41:44 +0200 |
|---|---|---|
| committer | Andre Bogus <bogusandre@gmail.com> | 2018-05-09 02:01:37 +0200 |
| commit | e333725664c45874262ecb11e511c17cfd4672f0 (patch) | |
| tree | b5f01abb2bc85e81b5b6f16c8ec4b4eb2962e2f6 /src/libstd/path.rs | |
| parent | 8ff4b42064b374bb62043f7729f84b6d979c7667 (diff) | |
| download | rust-e333725664c45874262ecb11e511c17cfd4672f0.tar.gz rust-e333725664c45874262ecb11e511c17cfd4672f0.zip | |
use fmt::Result where applicable
Diffstat (limited to 'src/libstd/path.rs')
| -rw-r--r-- | src/libstd/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs index 696711a70d4..5d35a786173 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -1460,7 +1460,7 @@ impl<P: AsRef<Path>> iter::Extend<P> for PathBuf { #[stable(feature = "rust1", since = "1.0.0")] impl fmt::Debug for PathBuf { - fn fmt(&self, formatter: &mut fmt::Formatter) -> Result<(), fmt::Error> { + fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { fmt::Debug::fmt(&**self, formatter) } } |
