Skip to content

Commit f58d110

Browse files
fix: add allow_unused attribute to new of ArrayProxy
Co-authored-by: Zgarbul Andrey <[email protected]>
1 parent d7ac658 commit f58d110

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generate/array_proxy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub struct ArrayProxy<T, const COUNT: usize, const STRIDE: usize> {
1717
impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
1818
/// Create a new ArrayProxy.
1919
#[inline(always)]
20+
#[allow(unused)]
2021
pub(crate) fn new() -> Self {
2122
Self {
2223
_array: marker::PhantomData,

0 commit comments

Comments
 (0)