fix more lints

This commit is contained in:
steven-omaha
2023-02-14 12:33:26 +01:00
parent fa49e1a187
commit f3632d0afd
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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,
} }
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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<()> {
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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;
} }
}); });