1
Fork 0

Fix join_paths error display.

This commit is contained in:
Eric Huss 2021-04-13 14:20:49 -07:00
parent 132b4e5d16
commit a8fbe2f22f

View file

@ -223,7 +223,7 @@ where
impl fmt::Display for JoinPathsError { impl fmt::Display for JoinPathsError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 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))
} }
} }