mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-12 13:49:19 +00:00
giving a afunction arguements
This commit is contained in:
parent
4723312a49
commit
6e2d8a8221
@ -5,4 +5,9 @@
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
call_me();
|
call_me();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
fn call_me(){
|
||||||
|
println!("call me");
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// variables6.rs
|
// variables6.rs
|
||||||
// Execute `rustlings hint variables6` or use the `hint` watch subcommand for a hint.
|
// Execute `rustlings hint variables6` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
|
||||||
|
|
||||||
const NUMBER: i32 = 3;
|
const NUMBER: i32 = 3;
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user