Skip to content

Commit 2656257

Browse files
committed
Revert "Remove to_string - that's in the future"
This reverts commit d560aa4.
1 parent 197c48b commit 2656257

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

vcf/src/headers.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ mod tests {
5858
header,
5959
Ok(
6060
Header {
61-
key: "FORMAT",
61+
key: "FORMAT".to_string(),
6262
value: HeaderValue::Nested(HashMap::from([
63-
("abc", "123"),
64-
("xyz", "3125"),
65-
("sfh", "1,574"),
63+
("abc".to_string(), "123".to_string()),
64+
("xyz".to_string(), "3125".to_string()),
65+
("sfh".to_string(), "1,574".to_string()),
6666
])),
6767
}
6868
)
@@ -78,11 +78,11 @@ mod tests {
7878
header,
7979
Ok(
8080
Header {
81-
key: "FORMAT",
81+
key: "FORMAT".to_string(),
8282
value: HeaderValue::Nested(HashMap::from([
83-
("abc", "1,233"),
84-
("xyz", "3125"),
85-
("sfh", "157"),
83+
("abc".to_string(), "1,233".to_string()),
84+
("xyz".to_string(), "3125".to_string()),
85+
("sfh".to_string(), "157".to_string()),
8686
])),
8787
}
8888
)

0 commit comments

Comments
 (0)