silence unused_qualification clippys warning due to async traits
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
416c6b1778
commit
ad8d1dc68a
5 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,7 @@ pub trait Data: Send + Sync {
|
|||
fn current_count(&self) -> Result<u64>;
|
||||
fn last_check_for_updates_id(&self) -> Result<u64>;
|
||||
fn update_check_for_updates_id(&self, id: u64) -> Result<()>;
|
||||
#[allow(unused_qualifications)] // async traits
|
||||
async fn watch(&self, user_id: &UserId, device_id: &DeviceId) -> Result<()>;
|
||||
fn cleanup(&self) -> Result<()>;
|
||||
fn flush(&self) -> Result<()>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue