Skip to content

Commit 2eab554

Browse files
committed
clippy warn fix
Signed-off-by: Aminu 'Seun Joshua <[email protected]>
1 parent f4998bf commit 2eab554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/factors-test/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub async fn build_locked_app(manifest: &toml::Table) -> anyhow::Result<LockedAp
102102
let toml_str = toml::to_string(manifest).context("failed serializing manifest")?;
103103
let dir = tempfile::tempdir().context("failed creating tempdir")?;
104104
// `foo` variable is set to require. As we're not providing a default value, env is checked.
105-
_ = std::env::set_var(env_key(None, "foo"), "baz");
105+
std::env::set_var(env_key(None, "foo"), "baz");
106106
let path = dir.path().join("spin.toml");
107107
std::fs::write(&path, toml_str).context("failed writing manifest")?;
108108
spin_loader::from_file(&path, FilesMountStrategy::Direct, None).await

0 commit comments

Comments
 (0)