Rust code review first edit

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

(Playground)

Good so far!

When you start writing more complex code, you can get some automated hints from cargo clippy. Clippy is also in Tools menu on the playground.

1 Like