From ad03d180c9311c0093e56a3531eec1a9a70cdb45 Mon Sep 17 00:00:00 2001 From: marisa Date: Mon, 11 Nov 2019 13:34:21 +0100 Subject: [PATCH] fix(if1): Remove `return` reference This closes #153. --- Cargo.lock | 2 +- exercises/if/if1.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0a61ec7..060acb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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)", diff --git a/exercises/if/if1.rs b/exercises/if/if1.rs index 636e6ce..6da09d3 100644 --- a/exercises/if/if1.rs +++ b/exercises/if/if1.rs @@ -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.