Skip to content

Commit e91e161

Browse files
committed
fix: correct return type
1 parent aa3be8b commit e91e161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/run-make-support/src/rustc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl Rustc {
105105
}
106106

107107
/// Generic file path provider.
108-
pub fn arg_path(&mut self, path: &[&str]) -> &mut RustcInvocationBuilder {
108+
pub fn arg_path(&mut self, path: &[&str]) -> &mut Self {
109109
let path_buf = path.iter().collect::<PathBuf>();
110110
self.cmd.arg(path_buf.to_str().unwrap());
111111
self

0 commit comments

Comments
 (0)