chore: run cargo fmt to fix lint errors

This commit is contained in:
Alain Emilia Anna Zscheile 2024-10-03 16:56:09 +02:00
parent fa81cd360a
commit 5319e1f976
4 changed files with 5 additions and 6 deletions

View File

@ -31,7 +31,7 @@ impl TryInto<()> for AutorouteStatus {
type Error = (); type Error = ();
/// Attempts to get the [`Result`] from the [`AutorouteStatus`]. /// 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 /// [`Result`]. It returns success for the [`AutorouteStatus::Finished`] state
/// or an error for [`AutorouteStatus::Running`] or [`AutorouteStatus::Routed`] states. /// or an error for [`AutorouteStatus::Running`] or [`AutorouteStatus::Routed`] states.
fn try_into(self) -> Result<(), ()> { fn try_into(self) -> Result<(), ()> {
@ -59,7 +59,7 @@ impl AutorouteExecutionStepper {
/// Initializes a new [`AutorouteExecutionStepper`] instance. /// Initializes a new [`AutorouteExecutionStepper`] instance.
/// ///
/// This method sets up the routing process by accepting the execution properties. /// 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. /// and stores the associated data for future routing steps.
pub fn new( pub fn new(
autorouter: &mut Autorouter<impl AccessMesadata>, autorouter: &mut Autorouter<impl AccessMesadata>,

View File

@ -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; use std::cmp::Ordering;

View File

@ -1,7 +1,6 @@
#[derive(Clone, Debug, PartialEq, serde::Deserialize, serde::Serialize)] #[derive(Clone, Debug, PartialEq, serde::Deserialize, serde::Serialize)]
#[serde(default)] #[serde(default)]
pub struct Config { pub struct Config {}
}
impl Default for Config { impl Default for Config {
fn default() -> Self { fn default() -> Self {

View File

@ -17,7 +17,7 @@ mod viewport;
use app::App; use app::App;
use sys_locale::get_locale; use sys_locale::get_locale;
use unic_langid::{LanguageIdentifier, langid}; use unic_langid::{langid, LanguageIdentifier};
fn get_langid() -> LanguageIdentifier { fn get_langid() -> LanguageIdentifier {
get_locale() get_locale()