Skip to content

Commit

Permalink
Fix join_paths error display.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 13, 2021
1 parent 132b4e5 commit a8fbe2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/os.rs
Expand Up @@ -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))
}
}

Expand Down

0 comments on commit a8fbe2f

Please sign in to comment.