Skip to content

Commit 42cdd87

Browse files
epageweihanglo
andauthored
docs: Fix copy/paste
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
1 parent 1ff0cad commit 42cdd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cargo-util/src/process_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl ProcessBuilder {
9595
self
9696
}
9797

98-
/// (chainable) Adds `arg` to the args list.
98+
/// (chainable) Overrides `arg0` for this program.
9999
pub fn arg0<T: AsRef<OsStr>>(&mut self, arg: T) -> &mut ProcessBuilder {
100100
self.arg0 = Some(arg.as_ref().to_os_string());
101101
self

0 commit comments

Comments
 (0)