Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
robfitzgerald committed Sep 5, 2024
1 parent e89d225 commit 52df10e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl TurnDelayAccessModelEngine {
let turn = Turn::from_angle(angle)?;
let delay = table.get(&turn).ok_or_else(|| {
let name = String::from("tabular discrete turn delay model");
let error = format!("table missing entry for turn {}", turn.to_string());
let error = format!("table missing entry for turn {}", turn);
AccessModelError::RuntimeError { name, error }
})?;
Ok((*delay, time_unit))
Expand Down

0 comments on commit 52df10e

Please sign in to comment.