diff --git a/src/autorouter/autoroute.rs b/src/autorouter/autoroute.rs index a2e30f5..74ad70e 100644 --- a/src/autorouter/autoroute.rs +++ b/src/autorouter/autoroute.rs @@ -31,7 +31,7 @@ impl TryInto<()> for AutorouteStatus { type Error = (); /// Attempts to get the [`Result`] from the [`AutorouteStatus`]. /// - /// This implementation allows transitioning from [`AutorouteStatus`] to a + /// This implementation allows transitioning from [`AutorouteStatus`] to a /// [`Result`]. It returns success for the [`AutorouteStatus::Finished`] state /// or an error for [`AutorouteStatus::Running`] or [`AutorouteStatus::Routed`] states. fn try_into(self) -> Result<(), ()> { @@ -59,7 +59,7 @@ impl AutorouteExecutionStepper { /// Initializes a new [`AutorouteExecutionStepper`] instance. /// /// This method sets up the routing process by accepting the execution properties. - /// It prepares the first ratline to route + /// It prepares the first ratline to route /// and stores the associated data for future routing steps. pub fn new( autorouter: &mut Autorouter, diff --git a/src/autorouter/invoker.rs b/src/autorouter/invoker.rs index 3fb76e2..2ab12c6 100644 --- a/src/autorouter/invoker.rs +++ b/src/autorouter/invoker.rs @@ -1,4 +1,4 @@ -//! Manages the execution of routing commands within the autorouting system. +//! Manages the execution of routing commands within the autorouting system. use std::cmp::Ordering; diff --git a/src/bin/topola-egui/config.rs b/src/bin/topola-egui/config.rs index 58ad7d9..cb885d0 100644 --- a/src/bin/topola-egui/config.rs +++ b/src/bin/topola-egui/config.rs @@ -1,7 +1,6 @@ #[derive(Clone, Debug, PartialEq, serde::Deserialize, serde::Serialize)] #[serde(default)] -pub struct Config { -} +pub struct Config {} impl Default for Config { fn default() -> Self { diff --git a/src/bin/topola-egui/main.rs b/src/bin/topola-egui/main.rs index ab32be0..7b585fd 100644 --- a/src/bin/topola-egui/main.rs +++ b/src/bin/topola-egui/main.rs @@ -17,7 +17,7 @@ mod viewport; use app::App; use sys_locale::get_locale; -use unic_langid::{LanguageIdentifier, langid}; +use unic_langid::{langid, LanguageIdentifier}; fn get_langid() -> LanguageIdentifier { get_locale()