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

allow to specify multi pattern for resources

This commit is contained in:
Nikolay Kim
2019-12-25 20:13:52 +04:00
parent 7882f545e5
commit f86ce0390e
16 changed files with 54 additions and 33 deletions

View File

@@ -229,7 +229,7 @@ impl FromRequest for String {
.ok_or_else(|| ErrorBadRequest("Can not decode body"))?)
}
}
.boxed_local(),
.boxed_local(),
)
}
}
@@ -391,7 +391,7 @@ impl Future for HttpMessageBody {
}
Ok(body.freeze())
}
.boxed_local(),
.boxed_local(),
);
self.poll(cx)
}