mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +00:00
refactor: Remove unnecessary allow_unused block
This commit is contained in:
parent
f70195905f
commit
7bbde2a342
|
@ -86,14 +86,12 @@ impl Theme {
|
|||
}
|
||||
|
||||
impl Theme {
|
||||
#[allow(unused)]
|
||||
pub fn next(&mut self) {
|
||||
let position = *self as usize;
|
||||
let types = Theme::value_variants();
|
||||
*self = types[(position + 1) % types.len()];
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn prev(&mut self) {
|
||||
let position = *self as usize;
|
||||
let types = Theme::value_variants();
|
||||
|
|
Loading…
Reference in New Issue
Block a user