fix more lints
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use macros::Action;
|
||||
|
||||
#[derive(Debug, Action)]
|
||||
pub(crate) enum Actions {
|
||||
pub enum Actions {
|
||||
Clean,
|
||||
Edit,
|
||||
Groups,
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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<()> {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user