Skip to content

Commit

Permalink
fix(rustup): Fix signature of IntoCow
Browse files Browse the repository at this point in the history
  • Loading branch information
renato-zannon authored and seanmonstar committed Feb 21, 2015
1 parent b0a72d8 commit 234fcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl Headers {
/// # let mut headers = Headers::new();
/// headers.set_raw("content-length", vec![b"5".to_vec()]);
/// ```
pub fn set_raw<K: IntoCow<'static, String, str>>(&mut self, name: K, value: Vec<Vec<u8>>) {
pub fn set_raw<K: IntoCow<'static, str>>(&mut self, name: K, value: Vec<Vec<u8>>) {
self.data.insert(UniCase(name.into_cow()), Item::new_raw(value));
}

Expand Down

0 comments on commit 234fcdc

Please sign in to comment.