Hello, World

published:

tags: [ #rust, #code ]

The first thing you do when learning a new language is write a simple program.

The choice you are taught is "Hello, World". A small program that shows the text "Hello, World" to the user.

I'm sure there are better things I could write about in a personal blog but this will have to do:

fn main() {
    println!("Hello, world!");
}

Output:

Hello, world!