mirror of
https://github.com/andwati/rustlings.git
synced 2026-11-18 18:05:22 +00:00
functions
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
// TODO: Add some function with the name `call_me` without arguments or a return value.
|
||||
|
||||
fn call_me() {
|
||||
println!("I was called!");
|
||||
}
|
||||
fn main() {
|
||||
call_me(); // Don't change this line
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user