mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 17:45:10 +02:00
style: Make rustfmt happy
This commit is contained in:
Generated
+1
@@ -2,6 +2,7 @@
|
||||
#![warn(clippy::print_stderr)]
|
||||
#![warn(clippy::print_stdout)]
|
||||
|
||||
#[rustfmt::skip]
|
||||
mod word_codegen;
|
||||
|
||||
pub use crate::word_codegen::WORD;
|
||||
|
||||
Generated
+1
@@ -2,6 +2,7 @@
|
||||
#![warn(clippy::print_stderr)]
|
||||
#![warn(clippy::print_stdout)]
|
||||
|
||||
#[rustfmt::skip]
|
||||
mod vars_codegen;
|
||||
|
||||
pub use crate::vars_codegen::*;
|
||||
|
||||
@@ -254,11 +254,7 @@ fn collect_correct(entry: &varcon_core::Entry, category: varcon::Category) -> Ha
|
||||
}
|
||||
}
|
||||
|
||||
if primary.len() == 1 {
|
||||
primary
|
||||
} else {
|
||||
backup
|
||||
}
|
||||
if primary.len() == 1 { primary } else { backup }
|
||||
}
|
||||
|
||||
fn ignore_variant(variant: &varcon_core::Variant) -> bool {
|
||||
|
||||
@@ -2,12 +2,10 @@
|
||||
#![warn(clippy::print_stderr)]
|
||||
#![warn(clippy::print_stdout)]
|
||||
|
||||
#[rustfmt::skip]
|
||||
mod codegen;
|
||||
|
||||
pub use codegen::*;
|
||||
pub use varcon_core::borrowed::Cluster;
|
||||
pub use varcon_core::borrowed::Entry;
|
||||
pub use varcon_core::borrowed::Variant;
|
||||
pub use varcon_core::Category;
|
||||
#[cfg(feature = "flags")]
|
||||
pub use varcon_core::CategorySet;
|
||||
@@ -18,3 +16,6 @@ pub use varcon_core::Tag;
|
||||
#[cfg(feature = "flags")]
|
||||
pub use varcon_core::TagSet;
|
||||
pub use varcon_core::Type;
|
||||
pub use varcon_core::borrowed::Cluster;
|
||||
pub use varcon_core::borrowed::Entry;
|
||||
pub use varcon_core::borrowed::Variant;
|
||||
|
||||
Reference in New Issue
Block a user