File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ impl futures_core::stream::Stream for BinlogStream {
166
166
Ok ( Some ( event) ) => {
167
167
if event. header ( ) . event_type_raw ( ) == EventType :: TRANSACTION_PAYLOAD_EVENT as u8
168
168
{
169
+ #[ allow( clippy:: single_match) ]
169
170
match event. read_event :: < TransactionPayloadEvent < ' _ > > ( ) {
170
171
Ok ( e) => self . tpe = Some ( Cursor :: new ( e. danger_decompress ( ) ) ) ,
171
172
Err ( _) => ( /* TODO: Log the error */ ) ,
Original file line number Diff line number Diff line change @@ -1047,6 +1047,7 @@ mod test {
1047
1047
// queued.
1048
1048
let conn = pool. get_conn ( ) . await . unwrap ( ) ;
1049
1049
1050
+ #[ allow( clippy:: async_yields_async) ]
1050
1051
let get_pending = || async {
1051
1052
let fut = async {
1052
1053
pool. get_conn ( ) . await . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments