1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-04 10:35:06 +02:00

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]]
name = "rustlings"
version = "1.4.1"
version = "1.5.0"
dependencies = [
"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)",

View File

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