Skip to content

Commit 4dade2a

Browse files
Rust
1 parent c805fd1 commit 4dade2a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

hello.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// This is the main function
2+
fn main() {
3+
// The statements here will be executed when the compiled binary is called
4+
5+
// Print text to the console
6+
println!("Hello World!");
7+
}
8+

0 commit comments

Comments
 (0)