1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 03:42:08 +01:00

update tests

This commit is contained in:
Nikolay Kim 2019-03-04 12:41:39 -08:00
parent 0ff0daa795
commit 04a3e59bd5

View File

@ -4,7 +4,7 @@ use std::rc::Rc;
use serde::de;
use crate::de::PathDeserializer;
use crate::ResourcePath;
use crate::{Resource, ResourcePath};
#[derive(Debug, Clone, Copy)]
pub(crate) enum PathItem {
@ -202,3 +202,9 @@ impl<T: ResourcePath> Index<usize> for Path<T> {
}
}
}
impl<T: ResourcePath> Resource<T> for Path<T> {
fn resource_path(&mut self) -> &mut Self {
self
}
}