File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -733,7 +733,7 @@ fn send_startup_progress(
733
733
title : "rust-analyzer" . into ( ) ,
734
734
cancellable : None ,
735
735
message : Some ( format ! ( "{}/{} packages" , progress, total) ) ,
736
- percentage : Some ( 100 as f64 * progress as f64 / total as f64 ) ,
736
+ percentage : Some ( 100.0 * progress as f64 / total as f64 ) ,
737
737
} ) ,
738
738
) ;
739
739
}
@@ -742,7 +742,7 @@ fn send_startup_progress(
742
742
WorkDoneProgress :: Report ( WorkDoneProgressReport {
743
743
cancellable : None ,
744
744
message : Some ( format ! ( "{}/{} packages" , progress, total) ) ,
745
- percentage : Some ( 100 as f64 * progress as f64 / total as f64 ) ,
745
+ percentage : Some ( 100.0 * progress as f64 / total as f64 ) ,
746
746
} ) ,
747
747
) ,
748
748
( _, true ) => send_startup_progress_notif (
You can’t perform that action at this time.
0 commit comments