OsString
Debug
implementation prints escaped single quotes
#114583
Labels
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
OsString
Debug
implementation prints escaped single quotes
#114583
produces
(playground)
#83046 reported the behavior of
<str as Debug>::fmt
escaping single quotes, and it was changed in #83079. Should we do the same forOsString
?I ran into this in #114132. It seems easy to fix for unix:
But on windows
OsString
is implemented usingWtf8
, which is instd
rather thancore
, which means it can't callchar::escape_debug_ext
:rust/library/std/src/sys_common/wtf8.rs
Line 532 in 139b49b
The text was updated successfully, but these errors were encountered: