mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
make return explicit
This commit is contained in:
parent
7148233950
commit
d0e3a6e770
|
@ -5,7 +5,7 @@ mod about_variables {
|
|||
let two = 7;
|
||||
let three = 3;
|
||||
let result = (one + two) / three;
|
||||
result
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue