Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Jan 12, 2024
1 parent 90fe338 commit 99fa115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/src/system_param/local_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl LocalSystemParamsManager {
async move {
let handler = CommonHandler::new(initial_params);

while let Ok(_) = rx.changed().await {
while rx.changed().await.is_ok() {
let new_params = (**rx.borrow_and_update().load()).clone();
handler.handle_change(new_params);
}
Expand Down

0 comments on commit 99fa115

Please sign in to comment.