Skip to content

Commit

Permalink
Fix for future clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfeldman committed Oct 16, 2023
1 parent f2782e9 commit 1f1b981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/compiler/load_internal/src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ fn worker_task_step<'a>(
match result {
Ok(()) => {}
Err(LoadingProblem::ChannelProblem(problem)) => {
panic!("Channel problem: {:?}", problem);
panic!("Channel problem: {problem:?}");
}
Err(LoadingProblem::ParsingFailed(problem)) => {
msg_tx.send(Msg::FailedToParse(problem)).unwrap();
Expand Down Expand Up @@ -2048,7 +2048,7 @@ fn worker_task<'a>(
match result {
Ok(()) => {}
Err(LoadingProblem::ChannelProblem(problem)) => {
panic!("Channel problem: {:?}", problem);
panic!("Channel problem: {problem:?}");
}
Err(LoadingProblem::ParsingFailed(problem)) => {
msg_tx.send(Msg::FailedToParse(problem)).unwrap();
Expand Down

0 comments on commit 1f1b981

Please sign in to comment.