mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 07:53:30 +02:00
fix progress bar count
This commit is contained in:
+4
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user