Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vvanders
on Sept 17, 2023
|
parent
|
context
|
favorite
| on:
Formatting text in C++: Old and new ways
The fact that Rust also has a pretty-print("{:#}")[1] a single character away is also really convenient. When you're working with JSON or debug printing types it's nice to be able to format that without reaching for external tools.
[1]
https://doc.rust-lang.org/std/fmt/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1] https://doc.rust-lang.org/std/fmt/