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
async-trait copies the method definitions as non-trait methods, which can result in the clippy::trivially_copy_pass_by_ref warning being incorrect fired. Example:
#[async_trait]traitFoo{fnfoo(&self);}#[async_trait]// ^ clippy::trivially_copy_pass_by_ref warning since the internal `foo` isn't part of the traitimplFoofor(){fnfoo(&self){}}
The text was updated successfully, but these errors were encountered:
async-trait
copies the method definitions as non-trait methods, which can result in theclippy::trivially_copy_pass_by_ref
warning being incorrect fired. Example:The text was updated successfully, but these errors were encountered: