Skip to content

Commit 8e7d72a

Browse files
committed
Update to Rust master
1 parent 3865b3e commit 8e7d72a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/handle.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,6 @@ mod tests {
312312
fn get_header() {
313313
let mut h = Handle::new();
314314
let r = h.get("/foo").header("foo", "bar");
315-
assert_eq!(r.get_header("foo"), Some(&["bar".to_string()]));
315+
assert_eq!(r.get_header("foo"), Some(["bar".to_string()].as_slice()));
316316
}
317317
}

0 commit comments

Comments
 (0)