mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
make return explicit
This commit is contained in:
parent
7148233950
commit
d0e3a6e770
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ mod about_variables {
|
||||||
let two = 7;
|
let two = 7;
|
||||||
let three = 3;
|
let three = 3;
|
||||||
let result = (one + two) / three;
|
let result = (one + two) / three;
|
||||||
result
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue