From 2e2ea7ab800e7325bd9a264b6cad177e5390df87 Mon Sep 17 00:00:00 2001 From: Maksym Vorobiov Date: Fri, 31 Jan 2020 22:16:31 +0200 Subject: [PATCH] remove extra whitespaces and Unpins --- Cargo.toml | 2 +- actix-http/src/h1/dispatcher.rs | 6 +++--- actix-http/src/h1/service.rs | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5ba358e2c..550df49dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -107,7 +107,7 @@ opt-level = 3 codegen-units = 1 [patch.crates-io] -actix-web = { path = "." } +actix-web = { path = "." } actix-http = { path = "actix-http" } actix-http-test = { path = "test-server" } actix-web-codegen = { path = "actix-web-codegen" } diff --git a/actix-http/src/h1/dispatcher.rs b/actix-http/src/h1/dispatcher.rs index eb60893ff..0f897561d 100644 --- a/actix-http/src/h1/dispatcher.rs +++ b/actix-http/src/h1/dispatcher.rs @@ -170,7 +170,7 @@ where S: Service, S::Error: Into, S::Response: Into>, - B: MessageBody+Unpin, + B: MessageBody, X: Service, X::Error: Into, U: Service), Response = ()>, @@ -258,7 +258,7 @@ where S: Service, S::Error: Into, S::Response: Into>, - B: MessageBody+Unpin, + B: MessageBody, X: Service, X::Error: Into, U: Service), Response = ()>, @@ -688,7 +688,7 @@ where S: Service, S::Error: Into, S::Response: Into>, - B: MessageBody+Unpin, + B: MessageBody, X: Service, X::Error: Into, U: Service), Response = ()>, diff --git a/actix-http/src/h1/service.rs b/actix-http/src/h1/service.rs index 84e1112e9..4d1a1dc1b 100644 --- a/actix-http/src/h1/service.rs +++ b/actix-http/src/h1/service.rs @@ -63,7 +63,7 @@ where S::Error: Into, S::InitError: fmt::Debug, S::Response: Into>, - B: MessageBody+Unpin, + B: MessageBody, X: ServiceFactory, X::Error: Into, X::InitError: fmt::Debug, @@ -106,7 +106,7 @@ mod openssl { S::Error: Into, S::InitError: fmt::Debug, S::Response: Into>, - B: MessageBody+Unpin, + B: MessageBody, X: ServiceFactory, X::Error: Into, X::InitError: fmt::Debug, @@ -250,7 +250,7 @@ where S::Error: Into, S::Response: Into>, S::InitError: fmt::Debug, - B: MessageBody+Unpin, + B: MessageBody, X: ServiceFactory, X::Error: Into, X::InitError: fmt::Debug, @@ -408,7 +408,7 @@ where S: Service, S::Error: Into, S::Response: Into>, - B: MessageBody+Unpin, + B: MessageBody, X: Service, X::Error: Into, U: Service), Response = ()>,