fix more lints
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
use macros::Action;
|
use macros::Action;
|
||||||
|
|
||||||
#[derive(Debug, Action)]
|
#[derive(Debug, Action)]
|
||||||
pub(crate) enum Actions {
|
pub enum Actions {
|
||||||
Clean,
|
Clean,
|
||||||
Edit,
|
Edit,
|
||||||
Groups,
|
Groups,
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ pub use todo_per_backend::ToDoPerBackend;
|
|||||||
use ::macros::Register;
|
use ::macros::Register;
|
||||||
|
|
||||||
#[derive(Debug, Register)]
|
#[derive(Debug, Register)]
|
||||||
pub(crate) enum Backends {
|
pub enum Backends {
|
||||||
Pacman,
|
Pacman,
|
||||||
Rust,
|
Rust,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ mod package;
|
|||||||
mod section;
|
mod section;
|
||||||
|
|
||||||
pub use group::Group;
|
pub use group::Group;
|
||||||
pub(super) use package::Package;
|
pub use package::Package;
|
||||||
pub(super) use section::Section;
|
pub use section::Section;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ use crate::{Group, Package};
|
|||||||
use self::datastructures::{ContinueWithReview, ReviewAction, ReviewIntention, ReviewsPerBackend};
|
use self::datastructures::{ContinueWithReview, ReviewAction, ReviewIntention, ReviewsPerBackend};
|
||||||
use self::strategy::Strategy;
|
use self::strategy::Strategy;
|
||||||
|
|
||||||
pub(crate) fn review(
|
pub fn review(
|
||||||
todo_per_backend: ToDoPerBackend,
|
todo_per_backend: ToDoPerBackend,
|
||||||
groups: impl IntoIterator<Item = Group>,
|
groups: impl IntoIterator<Item = Group>,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ fn generate_variant_constants<'a>(
|
|||||||
);
|
);
|
||||||
|
|
||||||
quote! {
|
quote! {
|
||||||
pub(crate) const #variant_uppercase: &str = #name::#variant_name.name();
|
pub const #variant_uppercase: &str = #name::#variant_name.name();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
result
|
result
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ fn generate_variant_imports(enum_data: &syn::DataEnum) -> impl Iterator<Item = T
|
|||||||
);
|
);
|
||||||
|
|
||||||
quote! {
|
quote! {
|
||||||
pub(crate) use actual::#variant_module::#variant_name;
|
pub use actual::#variant_module::#variant_name;
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user