Add Rustdoc::current_dir method to run-make-support
This commit is contained in:
parent
d6d3b342e8
commit
cc29dfa785
1 changed files with 6 additions and 0 deletions
|
|
@ -261,6 +261,12 @@ macro_rules! impl_common_helpers {
|
|||
}
|
||||
output
|
||||
}
|
||||
|
||||
/// Set the path where the command will be run.
|
||||
pub fn current_dir<P: AsRef<Path>>(&mut self, path: P) -> &mut Self {
|
||||
self.cmd.current_dir(path);
|
||||
self
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue