1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 17:07:01 +02:00

drop deprecated code

This commit is contained in:
Nikolay Kim
2018-03-29 11:06:44 -07:00
parent ae6c9cb7fa
commit f5636f321b
18 changed files with 61 additions and 152 deletions

View File

@@ -79,12 +79,6 @@ impl<S: 'static> Route<S> {
self
}
#[doc(hidden)]
#[deprecated(since="0.4.1", note="please use `.filter()` instead")]
pub fn p<T: Predicate<S> + 'static>(&mut self, p: T) -> &mut Self {
self.filter(p)
}
/// Set handler object. Usually call to this method is last call
/// during route configuration, so it does not return reference to self.
pub fn h<H: Handler<S>>(&mut self, handler: H) {