Skip to content

Commit

Permalink
fix(response): adjust to new lifetime rules
Browse files Browse the repository at this point in the history
This is due to a breaking change from:

rust-lang/rust#16453
  • Loading branch information
cburgdorf committed Sep 11, 2014
1 parent 8d4cc07 commit 1c7b20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use time;
use mimes::get_media_type;

///A container for the response
pub struct Response<'a, 'b> {
pub struct Response<'a, 'b: 'a> {
///the original `http::server::ResponseWriter`
pub origin: &'a mut http::server::ResponseWriter<'b>,
}
Expand Down

0 comments on commit 1c7b20f

Please sign in to comment.