diff --git a/src/windows/mod.rs b/src/windows/mod.rs index cdf4f55..3b6105b 100644 --- a/src/windows/mod.rs +++ b/src/windows/mod.rs @@ -45,8 +45,8 @@ impl Display for EncodingError { fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result { write!( formatter, - "os_str_bytes: byte sequence is not representable in the platform \ - encoding; error at {}", + "byte sequence is not representable in the platform encoding; \ + error at {}", self.position(), ) }