fix(if1): Remove return reference

This closes #153.
This commit is contained in:
marisa 2019-11-11 13:34:21 +01:00
parent 3232a4d60d
commit ad03d180c9
2 changed files with 1 additions and 2 deletions

2
Cargo.lock generated
View file

@ -600,7 +600,7 @@ dependencies = [
[[package]] [[package]]
name = "rustlings" name = "rustlings"
version = "1.4.1" version = "1.5.0"
dependencies = [ dependencies = [
"assert_cmd 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)", "assert_cmd 0.11.1 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -3,7 +3,6 @@
pub fn bigger(a: i32, b: i32) -> i32 { pub fn bigger(a: i32, b: i32) -> i32 {
// Complete this function to return the bigger number! // Complete this function to return the bigger number!
// Do not use: // Do not use:
// - return
// - another function call // - another function call
// - additional variables // - additional variables
// Scroll down for hints. // Scroll down for hints.