fix more lints

This commit is contained in:
Dr. Matthias Ratajczak
2023-02-14 12:33:26 +01:00
parent d00f388c58
commit 2778564320
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use macros::Action;
#[derive(Debug, Action)]
pub(crate) enum Actions {
pub enum Actions {
Clean,
Edit,
Groups,
+1 -1
View File
@@ -11,7 +11,7 @@ pub use todo_per_backend::ToDoPerBackend;
use ::macros::Register;
#[derive(Debug, Register)]
pub(crate) enum Backends {
pub enum Backends {
Pacman,
Rust,
}
+2 -2
View File
@@ -3,5 +3,5 @@ mod package;
mod section;
pub use group::Group;
pub(super) use package::Package;
pub(super) use section::Section;
pub use package::Package;
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::strategy::Strategy;
pub(crate) fn review(
pub fn review(
todo_per_backend: ToDoPerBackend,
groups: impl IntoIterator<Item = Group>,
) -> Result<()> {
+1 -1
View File
@@ -49,7 +49,7 @@ fn generate_variant_constants<'a>(
);
quote! {
pub(crate) const #variant_uppercase: &str = #name::#variant_name.name();
pub const #variant_uppercase: &str = #name::#variant_name.name();
}
});
result
+1 -1
View File
@@ -77,7 +77,7 @@ fn generate_variant_imports(enum_data: &syn::DataEnum) -> impl Iterator<Item = T
);
quote! {
pub(crate) use actual::#variant_module::#variant_name;
pub use actual::#variant_module::#variant_name;
}
});