refactor: Updated the 2018 idiom lint to the 2021_compatibility lint
This commit is contained in:
@@ -71,7 +71,7 @@ pub struct RadarrData<'a> {
|
||||
pub add_list_exclusion: bool,
|
||||
}
|
||||
|
||||
impl<'a> RadarrData<'a> {
|
||||
impl RadarrData<'_> {
|
||||
pub fn reset_delete_movie_preferences(&mut self) {
|
||||
self.delete_movie_files = false;
|
||||
self.add_list_exclusion = false;
|
||||
|
||||
@@ -76,7 +76,7 @@ pub struct SonarrData<'a> {
|
||||
pub version: String,
|
||||
}
|
||||
|
||||
impl<'a> SonarrData<'a> {
|
||||
impl SonarrData<'_> {
|
||||
pub fn reset_delete_series_preferences(&mut self) {
|
||||
self.delete_series_files = false;
|
||||
self.add_list_exclusion = false;
|
||||
|
||||
Reference in New Issue
Block a user