refactor: Updated the 2018 idiom lint to the 2021_compatibility lint
This commit is contained in:
@@ -23,7 +23,7 @@ pub(super) struct CollectionDetailsHandler<'a, 'b> {
|
||||
_context: Option<ActiveRadarrBlock>,
|
||||
}
|
||||
|
||||
impl<'a, 'b> CollectionDetailsHandler<'a, 'b> {
|
||||
impl CollectionDetailsHandler<'_, '_> {
|
||||
handle_table_events!(
|
||||
self,
|
||||
collection_movies,
|
||||
|
||||
@@ -20,7 +20,7 @@ pub(super) struct EditCollectionHandler<'a, 'b> {
|
||||
context: Option<ActiveRadarrBlock>,
|
||||
}
|
||||
|
||||
impl<'a, 'b> EditCollectionHandler<'a, 'b> {
|
||||
impl EditCollectionHandler<'_, '_> {
|
||||
fn build_edit_collection_params(&mut self) -> EditCollectionParams {
|
||||
let edit_collection_modal = self
|
||||
.app
|
||||
|
||||
@@ -29,7 +29,7 @@ pub(super) struct CollectionsHandler<'a, 'b> {
|
||||
context: Option<ActiveRadarrBlock>,
|
||||
}
|
||||
|
||||
impl<'a, 'b> CollectionsHandler<'a, 'b> {
|
||||
impl CollectionsHandler<'_, '_> {
|
||||
handle_table_events!(
|
||||
self,
|
||||
collections,
|
||||
|
||||
Reference in New Issue
Block a user