all: use expect attribute where possible
This commit is contained in:
parent
c3b50dc653
commit
e377470f3f
134 changed files with 241 additions and 296 deletions
|
|
@ -18,7 +18,6 @@ pub struct TestShmBuffer {
|
|||
}
|
||||
|
||||
impl TestShmBuffer {
|
||||
#[allow(dead_code)]
|
||||
pub fn fill(&self, color: Color) {
|
||||
let [cr, cg, cb, ca] = color.to_rgba_premultiplied();
|
||||
for [b, g, r, a] in self.deref().array_chunks_ext::<4>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue