Skip to content

Commit 6db49ec

Browse files
committed
clippy fix
1 parent 938ea66 commit 6db49ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rust/functora-cfg/tests/integration.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ fn file_override() {
165165
balance = 101
166166
tags = ["retro", "story"]
167167
"#;
168-
file.write(text.as_bytes()).unwrap();
168+
file.write_all(text.as_bytes()).unwrap();
169169
let lhs = Cfg::new(Cli::parse_from([
170170
"functora",
171171
"--toml",
172-
&file.path().to_string_lossy().into_owned(),
172+
&file.path().to_string_lossy(),
173173
]));
174174
let rhs = Cfg {
175175
host: "192.168.1.100".into(),
@@ -317,7 +317,7 @@ fn layered_override() {
317317
let lhs = Cfg::new(Cli::parse_from([
318318
"functora",
319319
"--toml",
320-
&file.path().to_string_lossy().into_owned(),
320+
&file.path().to_string_lossy(),
321321
"--host",
322322
"10.10.10.10",
323323
"--logs",

0 commit comments

Comments
 (0)