mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-23 00:28:46 +02:00
Use == instead of eq
This commit is contained in:
@ -289,7 +289,7 @@ fn spawn_watch_shell(
|
||||
}
|
||||
|
||||
fn find_exercise<'a>(name: &str, exercises: &'a [Exercise]) -> &'a Exercise {
|
||||
if name.eq("next") {
|
||||
if name == "next" {
|
||||
exercises
|
||||
.iter()
|
||||
.find(|e| !e.looks_done())
|
||||
|
Reference in New Issue
Block a user