diff --git a/Cargo.toml b/Cargo.toml index feaba20..a81dadd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,9 +9,9 @@ name = "insta-cmd" readme = "README.md" repository = "https://github.com/mitsuhiko/insta-cmd" rust-version = "1.57.0" -version = "0.3.0" +version = "0.4.0" [dependencies] -insta = {version = "1.29.0", features = ["serde"]} -serde = {version = "1.0.139", features = ["derive"]} +insta = { version = "1.29.0", features = ["serde"] } +serde = { version = "1.0.139", features = ["derive"] } serde_json = "1.0.82" diff --git a/src/spawn.rs b/src/spawn.rs index 3866d29..cc58660 100644 --- a/src/spawn.rs +++ b/src/spawn.rs @@ -46,7 +46,7 @@ impl Info { ) }) .collect(), - stdin: stdin.as_ref().map(|x| String::from_utf8_lossy(&x).into()), + stdin: stdin.as_ref().map(|x| String::from_utf8_lossy(x).into()), } } }