Fix join_paths error display.
This commit is contained in:
parent
132b4e5d16
commit
a8fbe2f22f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue