fix!: Remove async_fn_in_trait feature. Ignore warning.
This is because the latest nightly doesn't require the feature and it added a warning for public async traits and not sure how to properly handle it yet.
This commit is contained in:
parent
08a6d6abb1
commit
0627ee2c16
|
@ -1,4 +1,6 @@
|
|||
#![feature(async_fn_in_trait)]
|
||||
// Ignores: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
|
||||
// TODO: Maybe use the suggestion of removing async and replacing it with Future<Output = Result<...>>
|
||||
#![allow(async_fn_in_trait)]
|
||||
|
||||
use crate::auth::{AccessToken, RefreshToken};
|
||||
use crate::error::TeslatteError;
|
||||
|
|
Loading…
Reference in a new issue