Skip to content

Commit c5ec67a

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 53c787b commit c5ec67a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates/fspy_shared_unix/src/exec

crates/fspy_shared_unix/src/exec/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ impl Exec {
8686
/// # Errors
8787
///
8888
/// Returns an error if:
89-
/// - The program is not found in PATH (ENOENT)
90-
/// - The program file cannot be accessed or read
91-
/// - Shebang parsing fails due to I/O errors
89+
/// - The program is not found in PATH (`ENOENT`)
90+
/// - The program file cannot be accessed or read (`EACCES`, `EISDIR`, `EIO`)
91+
/// - Shebang parsing fails due to I/O errors (`EIO`)
9292
pub fn resolve(
9393
&mut self,
9494
mut on_path_access: impl FnMut(PathAccess<'_>),

0 commit comments

Comments
 (0)