diff options
| author | Eric Huss <eric@huss.org> | 2021-04-13 14:20:49 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2021-04-13 14:20:49 -0700 |
| commit | a8fbe2f22f78a97f455808284d6893cee1ed6b35 (patch) | |
| tree | f9342bbddf235d1492aeef1fd779dc58388890ce | |
| parent | 132b4e5d167b7e622fcc11fa2b67b931105b4de1 (diff) | |
| download | rust-a8fbe2f22f78a97f455808284d6893cee1ed6b35.tar.gz rust-a8fbe2f22f78a97f455808284d6893cee1ed6b35.zip | |
Fix join_paths error display.
| -rw-r--r-- | library/std/src/sys/unix/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/os.rs b/library/std/src/sys/unix/os.rs index 4a077e2151e..ce2c4e88c7e 100644 --- a/library/std/src/sys/unix/os.rs +++ b/library/std/src/sys/unix/os.rs @@ -223,7 +223,7 @@ where impl fmt::Display for JoinPathsError { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "path segment contains separator `{}`", PATH_SEPARATOR) + write!(f, "path segment contains separator `{}`", char::from(PATH_SEPARATOR)) } } |
