1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-09-01 00:17:00 +02:00

clippy warnings

This commit is contained in:
Nikolay Kim
2019-02-04 11:04:10 -08:00
parent 7dca264546
commit 08bc328826
8 changed files with 21 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ impl<R, E> Blank<R, E> {
}
impl<R> Blank<R, ()> {
#[allow(clippy::new_ret_no_self)]
pub fn new<E>() -> Blank<R, E> {
Blank { _t: PhantomData }
}