Skip to content

Commit 1c7b20f

Browse files
committed
fix(response): adjust to new lifetime rules
This is due to a breaking change from: rust-lang/rust#16453
1 parent 8d4cc07 commit 1c7b20f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/response.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use time;
66
use mimes::get_media_type;
77

88
///A container for the response
9-
pub struct Response<'a, 'b> {
9+
pub struct Response<'a, 'b: 'a> {
1010
///the original `http::server::ResponseWriter`
1111
pub origin: &'a mut http::server::ResponseWriter<'b>,
1212
}

0 commit comments

Comments
 (0)