Can't escape a single `{`
Thanks for your useful library! I'm trying to use it to generate some JSON by hand, but unlike the standard string format!
, the escaping of {
doesn't seem to work as expected.
I would expect this to work, but it prints a double {{
rather than a single {
:
format_bytes::format_bytes!(br#"{{"x":{}}}"#, 3.4);
I also tried without escaping, but then I get an error about unclosed delimiters:
format_bytes::format_bytes!(br#"{"x":{}}"#, 3.4);