Most Rust tutorials start and end with:
fn main() {
println!("Hello, World!");
}
But Rust has much more to offer when it comes to printing, debugging, and formatting output.
In this short video tutorial, you’ll learn:
println!, print!, eprintln!, eprint!
Debug & pretty debug ({:?} / {:#?})
Clean, user-facing output with Display
How to implement custom formatting for your own types
Watch the tutorial here: https://youtu.be/2kXKcAICfYQ
My Rust portfolio: https://vinecksie.super.site/