mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
dependency management
This commit is contained in:
parent
40e6d1bc03
commit
a493071ff8
7 changed files with 16 additions and 23 deletions
|
@ -92,7 +92,7 @@ pub trait DrawResourceRoutes
|
|||
fn delete<Handler : ResourceDelete>(&mut self);
|
||||
}
|
||||
|
||||
fn response_from(res : Response, state : &State) -> hyper::Response<Body>
|
||||
fn response_from(res : Response, state : &State) -> gotham::hyper::Response<Body>
|
||||
{
|
||||
let mut r = create_empty_response(state, res.status);
|
||||
if let Some(mime) = res.mime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue