We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36250f6 commit 068b2c7Copy full SHA for 068b2c7
src/testkit.rs
@@ -1,6 +1,7 @@
1
use std::env;
2
use std::ffi::{OsStr, OsString};
3
4
+#[must_use = "if unused environment will immediately be cleaned up"]
5
pub struct EnvironmentTestGuard {
6
key: OsString,
7
value: Option<OsString>,
0 commit comments