mirror of https://codeberg.org/topola/topola.git
chore: run cargo fmt to fix lint errors
This commit is contained in:
parent
fa81cd360a
commit
5319e1f976
|
|
@ -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>,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue