Closed
Description
This is very minor.
println!("{:?}", "'");
Expected output: "'"
Actual output: "\'"
Perhaps this was intentional, but I'm not sure why it would be. The closest issue I saw was #3752 which is ancient and was more obviously a bug since escapes were appearing in Display
output and not just Debug
.
This reproduces in the latest stable (1.50.0) and nightly (1.52.0-nightly) builds.