migrate to ntex-router

This commit is contained in:
Nikolay Kim 2020-03-22 18:36:27 +06:00
parent e862efc4e6
commit 06db684f9e
20 changed files with 110 additions and 139 deletions

View file

@ -95,9 +95,9 @@ impl<T: ResourcePath> Path<T> {
self.skip += n;
}
pub(crate) fn add(&mut self, name: &'static str, value: String) {
self.segments.push((name, PathItem::Segment(value)))
}
// pub(crate) fn add(&mut self, name: &'static str, value: String) {
// self.segments.push((name, PathItem::Segment(value)))
// }
#[doc(hidden)]
pub fn add_static(&mut self, name: &'static str, value: &'static str) {