style: Make rustfmt happy

This commit is contained in:
Ed Page
2026-01-28 10:53:35 -06:00
parent c60a3c4653
commit 061dfe09a2
4 changed files with 7 additions and 8 deletions
+1
View File
@@ -2,6 +2,7 @@
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]
#[rustfmt::skip]
mod word_codegen;
pub use crate::word_codegen::WORD;
+1
View File
@@ -2,6 +2,7 @@
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]
#[rustfmt::skip]
mod vars_codegen;
pub use crate::vars_codegen::*;
+1 -5
View File
@@ -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 {
+4 -3
View File
@@ -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;