mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-29 10:13:29 +00:00
Avoid unneeded castings
This commit is contained in:
+1
-1
@@ -245,7 +245,7 @@ impl<'a> WatchState<'a> {
|
||||
progress_bar(
|
||||
stdout,
|
||||
self.app_state.n_done(),
|
||||
self.app_state.exercises().len() as u16,
|
||||
self.app_state.exercises().len() as u32,
|
||||
self.term_width,
|
||||
)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user