mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 16:40:21 +02:00
improve code readability
This commit is contained in:
@@ -349,14 +349,14 @@ where
|
||||
pub struct ResponseFuture<T, E> {
|
||||
#[pin]
|
||||
fut: T,
|
||||
_t: PhantomData<E>,
|
||||
_phantom: PhantomData<E>,
|
||||
}
|
||||
|
||||
impl<T, E> ResponseFuture<T, E> {
|
||||
pub fn new(fut: T) -> Self {
|
||||
ResponseFuture {
|
||||
fut,
|
||||
_t: PhantomData,
|
||||
_phantom: PhantomData,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user