DEV Community

Vincent Eckert Sierota
Vincent Eckert Sierota

Posted on

πŸ¦€ Rust for Beginners: Going Beyond "Hello, World!" (Formatting & Debugging Basics)

Most Rust tutorials start and end with:

fn main() {
    println!("Hello, World!");
}
Enter fullscreen mode Exit fullscreen mode

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/

Tags:
rust, beginners, tutorial, programming, video

Top comments (0)