File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ impl ContextOps for PulseContext {
515
515
Ok ( ( ) )
516
516
}
517
517
518
- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: too_many_arguments) ) ]
518
+ #[ allow( clippy:: too_many_arguments) ]
519
519
fn stream_init (
520
520
& mut self ,
521
521
stream_name : Option < & CStr > ,
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ pub struct PulseStream<'ctx> {
283
283
}
284
284
285
285
impl < ' ctx > PulseStream < ' ctx > {
286
- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: too_many_arguments) ) ]
286
+ #[ allow( clippy:: too_many_arguments) ]
287
287
pub fn new (
288
288
context : & ' ctx PulseContext ,
289
289
stream_name : Option < & CStr > ,
@@ -1033,7 +1033,7 @@ impl<'ctx> PulseStream<'ctx> {
1033
1033
true
1034
1034
}
1035
1035
1036
- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: cognitive_complexity) ) ]
1036
+ #[ allow( clippy:: cognitive_complexity) ]
1037
1037
fn trigger_user_callback ( & mut self , input_data : * const c_void , nbytes : usize ) {
1038
1038
fn drained_cb (
1039
1039
a : & pulse:: MainloopApi ,
@@ -1074,7 +1074,7 @@ impl<'ctx> PulseStream<'ctx> {
1074
1074
read_offset
1075
1075
) ;
1076
1076
let read_ptr = unsafe { ( input_data as * const u8 ) . add ( read_offset) } ;
1077
- #[ cfg_attr ( feature = "cargo-clippy" , allow( clippy:: unnecessary_cast) ) ]
1077
+ #[ allow( clippy:: unnecessary_cast) ]
1078
1078
let mut got = unsafe {
1079
1079
self . data_callback . unwrap ( ) (
1080
1080
self as * const _ as * mut _ ,
You can’t perform that action at this time.
0 commit comments