style(lint): Added allow dead code directives around certain structs that are causing linter complaints because these will either be used once sonarr UI work begins, or in future Servarr developments that will make life easier
This commit is contained in:
@@ -248,6 +248,9 @@ impl From<&SonarrData> for EditSeriesModal {
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct EpisodeDetailsModal {
|
||||
// Temporarily allowing this, since the value is only current written and not read.
|
||||
// This will be read from once I begin the UI work for Sonarr
|
||||
#[allow(dead_code)]
|
||||
pub episode_details: ScrollableText,
|
||||
pub file_details: String,
|
||||
pub audio_details: String,
|
||||
|
||||
@@ -15,9 +15,15 @@ where
|
||||
T: ToText + Hash + Clone + PartialEq + Eq + Debug + Default + Display + PartialEq + Eq,
|
||||
{
|
||||
pub state: TreeState,
|
||||
// Allowing the existence of this struct for now, since it may become useful
|
||||
// for future UI developments with additional Servarrs
|
||||
#[allow(dead_code)]
|
||||
pub items: Vec<TreeItem<T>>,
|
||||
}
|
||||
|
||||
// Allowing the existence of this struct for now, since it may become useful
|
||||
// for future UI developments with additional Servarrs
|
||||
#[allow(dead_code)]
|
||||
impl<T> StatefulTree<T>
|
||||
where
|
||||
T: ToText + Hash + Clone + PartialEq + Eq + Debug + Default + Display + PartialEq + Eq,
|
||||
|
||||
Reference in New Issue
Block a user