Skip to content

Commit

Permalink
fix: corrected the readme file (#36)
Browse files Browse the repository at this point in the history
* Update README.md

* Added space, just to resolve semantic PR

* Update README.md
  • Loading branch information
SiddheshKanawade authored Jul 2, 2022
1 parent 76dd0bb commit 071a246
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ pub struct FakeAuth;

impl<S: 'static, B> Transform<S> for FakeAuth
where
S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>,
S::Future: 'static,
B: 'static,
{
type Request = ServiceRequest;
type Response = ServiceResponse<B>;
type Error = Error;
type InitError = ();
Expand All @@ -67,11 +66,10 @@ pub struct FakeAuthMiddleware<S> {

impl<S, B> Service for FakeAuthMiddleware<S>
where
S: Service<Request = ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
S::Future: 'static,
B: 'static,
{
type Request = ServiceRequest;
type Response = ServiceResponse<B>;
type Error = Error;
type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>>>>;
Expand Down

0 comments on commit 071a246

Please sign in to comment.