1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-12 07:13:11 +01:00

disable print

This commit is contained in:
Nikolay Kim 2017-10-29 20:54:52 -07:00
parent 122fcd6881
commit 8aa20c6261

View File

@ -172,11 +172,11 @@ pub struct HttpChannel<T: 'static, A: 'static, H: 'static> {
keepalive_timer: Option<Timeout>, keepalive_timer: Option<Timeout>,
} }
impl<T: 'static, A: 'static, H: 'static> Drop for HttpChannel<T, A, H> { /*impl<T: 'static, A: 'static, H: 'static> Drop for HttpChannel<T, A, H> {
fn drop(&mut self) { fn drop(&mut self) {
println!("Drop http channel"); println!("Drop http channel");
} }
} }*/
impl<T, A, H> Actor for HttpChannel<T, A, H> impl<T, A, H> Actor for HttpChannel<T, A, H>
where T: AsyncRead + AsyncWrite + 'static, where T: AsyncRead + AsyncWrite + 'static,