perf(all): replace &str.to_string() with .to_owned()
This commit is contained in:
@@ -29,6 +29,6 @@ header! {
|
||||
// Testcase from RFC
|
||||
test_header!(test1, vec![b"CERN-LineMode/2.15 libwww/2.17b3"]);
|
||||
// Own testcase
|
||||
test_header!(test2, vec![b"Bunnies"], Some(UserAgent("Bunnies".to_string())));
|
||||
test_header!(test2, vec![b"Bunnies"], Some(UserAgent("Bunnies".to_owned())));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user