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

Check code style with rustfmt on CI (#164)

This commit is contained in:
Yuki Okushi
2020-07-22 12:32:13 +09:00
committed by GitHub
parent 0dca1a705a
commit 8ace9264b7
13 changed files with 333 additions and 283 deletions

View File

@@ -1,7 +1,7 @@
use std::cell::RefCell;
use std::future::Future;
use std::pin::Pin;
use std::rc::Rc;
use std::cell::RefCell;
use std::task::{Context, Poll};
use super::{Service, ServiceFactory};
@@ -102,7 +102,9 @@ where
this.state.set(State::Empty);
r
}),
StateProj::Empty => panic!("future must not be polled after it returned `Poll::Ready`"),
StateProj::Empty => {
panic!("future must not be polled after it returned `Poll::Ready`")
}
}
}
}