Skip to content

Commit f28df9a

Browse files
Update crates/fspy_shared_unix/src/exec/mod.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: LongYinan <lynweklm@gmail.com>
1 parent c5ec67a commit f28df9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/fspy_shared_unix/src/exec

crates/fspy_shared_unix/src/exec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ impl Exec {
148148
///
149149
/// # Errors
150150
///
151-
/// Returns `EINVAL` if the environment variable already exists with a different value.
151+
/// Returns `Err(nix::Error::EINVAL)` if the environment variable already exists with a different value.
152152
pub fn ensure_env(
153153
envs: &mut Vec<(BString, Option<BString>)>,
154154
name: impl AsRef<BStr>,

0 commit comments

Comments
 (0)