mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-25 01:01:34 +11:00
Add an allow for the clippy bug
This commit is contained in:
parent
7ae565b2c3
commit
ccdb0e4921
|
@ -9,6 +9,7 @@ impl Palette16 {
|
||||||
Palette16 { colours }
|
Palette16 { colours }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::only_used_in_recursion)]
|
||||||
pub fn update_colour(&mut self, index: usize, colour: u16) {
|
pub fn update_colour(&mut self, index: usize, colour: u16) {
|
||||||
self.colours[index] = colour;
|
self.colours[index] = colour;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue