File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ impl<'a> Display {
88
88
///
89
89
/// `hor_res` and `ver_res` must be nonzero, and the provided functions
90
90
/// must not themselves cause undefined behavior.
91
+ #[ allow( clippy:: too_many_arguments) ]
91
92
pub unsafe fn register_raw < const N : usize > (
92
93
draw_buffer : DrawBuffer < N > ,
93
94
hor_res : u32 ,
@@ -229,6 +230,7 @@ impl<'a, const N: usize> DisplayDriver<N> {
229
230
} ) )
230
231
}
231
232
233
+ #[ allow( clippy:: too_many_arguments) ]
232
234
pub unsafe fn new_raw (
233
235
mut draw_buffer : DrawBuffer < N > ,
234
236
flush_cb : Option <
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ impl<'a> TryFrom<Obj<'a>> for Screen<'a> {
41
41
}
42
42
}
43
43
44
+ #[ allow( clippy:: from_over_into) ]
44
45
impl < ' a > Into < Obj < ' a > > for Screen < ' a > {
45
46
fn into ( self ) -> Obj < ' a > {
46
47
self . raw
You can’t perform that action at this time.
0 commit comments