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

1 6 20
calendar_todayschedule1 min read
— Originally published at dev.to

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/

1 Comment

0 votes
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

Frameworks Are Institutional Memory

Ken W. Algerverified - Sep 17

TypeScript Complexity Has Finally Reached the Point of Total Absurdity

Karol Modelski - Apr 23

Your Tech Stack Isn’t Your Ceiling. Your Story Is

Karol Modelski - Apr 9

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelski - Mar 19

Tailwind CSS for Beginners: From Zero to Your First Component

muhammadfarhan.dev - Jul 21
chevron_left
1.2k Points27 Badges
7Posts
2Comments
8Connections
Rust Engineer | Backend • Cryptography • Systems Design | Ex-Microsoft Dynamics 365 (15y) → building... Show more

Related Jobs

View all jobs →

Commenters (This Week)

8 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!