You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code gives an example of Clippy complaining that _b is a used underscore binding. I suspect this has to do with how async-trait rewrites the function call?
#![deny(clippy::pedantic)]#[async_trait::async_trait]pubtraitTestTrait{asyncfna(b:u8,c:u8) -> u8;}pubstructTestStruct{}#[async_trait::async_trait]implTestTraitforTestStruct{asyncfna(_b:u8,c:u8) -> u8{
c
}}
The text was updated successfully, but these errors were encountered:
The following code gives an example of Clippy complaining that
_b
is a used underscore binding. I suspect this has to do with how async-trait rewrites the function call?The text was updated successfully, but these errors were encountered: