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 = ();
/// 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<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;

View File

@ -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 {

View File

@ -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()