mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
libtest: remove unnecessary to_string()
calls
This commit is contained in:
parent
00c7786690
commit
66f52f4c9b
@ -1560,7 +1560,7 @@ mod tests {
|
|||||||
|
|
||||||
assert_eq!(filtered.len(), 1);
|
assert_eq!(filtered.len(), 1);
|
||||||
assert_eq!(filtered[0].desc.name.to_string(),
|
assert_eq!(filtered[0].desc.name.to_string(),
|
||||||
"1".to_string());
|
"1");
|
||||||
assert!(filtered[0].desc.ignore == false);
|
assert!(filtered[0].desc.ignore == false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user