Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bastibl committed Nov 6, 2023
1 parent 63b2bed commit bba1390
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/m17/src/call_sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl fmt::Display for CallSign {

let mut out = String::new();
while encoded > 0 {
out.push(Self::CHAR_MAP[(encoded % 40) as usize].try_into().unwrap());
out.push(Self::CHAR_MAP[(encoded % 40) as usize].into());
encoded /= 40;
}
out
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/scheduler/flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ impl Drop for FlowExecutor {
let active = state.active.lock().unwrap();

for (_, w) in active.iter() {
w.clone().wake();
w.wake_by_ref();
}

drop(active);
Expand Down

0 comments on commit bba1390

Please sign in to comment.