Skip to content
Myr

cli: tweak docs for `resolve_binary`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #2928

authored by Andrew Gallant · committed by Andrew Gallant · parent 1b07c66 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:crates/cli/src/decompress.rs+2 added
412 unmodified lines
413/// Note that this could still return a relative path if PATH contains a414/// relative path. We permit this since it is assumed that the user has set415/// this explicitly, and thus, desires this behavior.416///417/// # Platform behavior418///419/// On non-Windows, this is a no-op.420pub fn resolve_binary<P: AsRef<Path>>(421 prog: P,422) -> Result<PathBuf, CommandError> {
110 unmodified lines