fix(lint): use as_chunks for constant-size row pairs
Satisfies clippy::chunks_exact_to_as_chunks on newer toolchains where CI builds with -D warnings.
This commit is contained in:
1 parent
e1cce7b5b3
commit
937e9dac1f
1 file changed
+3
-1
@@ -165,7 +165,9 @@ pub(crate) fn fallback_icon() -> Vec<Vec<IconCell>> {
|
||||
[false, false, false, false, false, false],
|
||||
[false, false, true, true, false, false],
|
||||
];
|
||||
MASK.chunks_exact(2)
|
||||
MASK.as_chunks::<2>()
|
||||
.0
|
||||
.iter()
|
||||
.map(|pair| {
|
||||
pair[0]
|
||||
.iter()
|
||||
|
||||
Reference in new issue
Block a user