Use qualified instead of absolute

feature/v32-tokens
Edward Shen 2021-05-19 23:29:18 -04:00
parent c488eccc8d
commit 0fcde518c5
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 3 additions and 2 deletions

5
src/cache/mod.rs vendored
View File

@ -2,6 +2,7 @@ use std::fmt::Display;
use std::path::PathBuf;
use std::pin::Pin;
use std::str::FromStr;
use std::sync::Arc;
use std::task::{Context, Poll};
use actix_web::http::HeaderValue;
@ -175,7 +176,7 @@ pub trait Cache: Send + Sync {
}
#[async_trait]
impl<T: Cache> Cache for std::sync::Arc<T> {
impl<T: Cache> Cache for Arc<T> {
#[inline]
async fn get(
&self,
@ -207,7 +208,7 @@ pub trait CallbackCache: Cache {
}
#[async_trait]
impl<T: CallbackCache> CallbackCache for std::sync::Arc<T> {
impl<T: CallbackCache> CallbackCache for Arc<T> {
#[inline]
async fn put_with_on_completed_callback(
&self,