Skip to content

Commit f34fa8f

Browse files
author
Daniel Lockyer
committed
Switch from &String to &str
1 parent 249369a commit f34fa8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn check_invariants(url: &Url) {
2626
}
2727

2828

29-
fn run_parsing(input: &String, base: &String, expected: Result<ExpectedAttributes, ()>) {
29+
fn run_parsing(input: &str, base: &str, expected: Result<ExpectedAttributes, ()>) {
3030
let base = match Url::parse(&base) {
3131
Ok(base) => base,
3232
Err(message) => panic!("Error parsing base {:?}: {}", base, message)

0 commit comments

Comments
 (0)