Add #[must_use] to remaining std functions (O-Z)
This commit is contained in:
parent
e249ce6b23
commit
a81d4b18ea
12 changed files with 57 additions and 2 deletions
|
@ -106,6 +106,7 @@ impl CommandEnv {
|
|||
/// This struct is created by
|
||||
/// [`Command::get_envs`][crate::process::Command::get_envs]. See its
|
||||
/// documentation for more.
|
||||
#[must_use = "iterators are lazy and do nothing unless consumed"]
|
||||
#[stable(feature = "command_access", since = "1.57.0")]
|
||||
#[derive(Debug)]
|
||||
pub struct CommandEnvs<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue