Skip to content

Commit e6f5c48

Browse files
authored
Create SimpleFunction.rs
1 parent 3d7df7b commit e6f5c48

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Function/SimpleFunction.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
fn main() {
2+
greet();
3+
4+
}
5+
6+
fn greet() {
7+
println!("Hello, Rust!");
8+
}

0 commit comments

Comments
 (0)