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:
2024-11-25 16:50:28 -07:00
parent ad0b3989ed
commit 80787d1187
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -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,