mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
commit
fb327612f8
|
@ -362,7 +362,10 @@ fn watch(
|
|||
.iter()
|
||||
.filter(|e| !e.looks_done() && !filepath.ends_with(&e.path)),
|
||||
);
|
||||
let num_done = exercises.iter().filter(|e| e.looks_done()).count();
|
||||
let num_done = exercises
|
||||
.iter()
|
||||
.filter(|e| e.looks_done() && !filepath.ends_with(&e.path))
|
||||
.count();
|
||||
clear_screen();
|
||||
match verify(
|
||||
pending_exercises,
|
||||
|
|
Loading…
Reference in a new issue