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

posted Originally published at dev.to 0 min read

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/

If you read this far, tweet to the author to show them you care. Tweet a Thanks
0 votes

More Posts

Building a Smart Contract in Rust for Solana: Minting and Deploying a New Token

Web3Dev - Feb 20

Hello World! Welcome to the Rust Group!

James Dayal - Sep 25

Software Testing for Beginners

Divyansh1552005 - Oct 16

Python for Absolute Beginners - 2025

pythonclcoding - Oct 1

Runtime-initialized variables in Rust

Nicolas Fränkel - Jun 5
chevron_left