Remove duplicated Rustdoc::output
method from run-make-support
lib
This commit is contained in:
parent
026e9ed3f0
commit
a19a8f8e52
1 changed files with 1 additions and 7 deletions
|
@ -71,14 +71,8 @@ impl Rustdoc {
|
|||
self
|
||||
}
|
||||
|
||||
/// Specify path to the output folder.
|
||||
pub fn output<P: AsRef<Path>>(&mut self, path: P) -> &mut Self {
|
||||
self.cmd.arg("-o");
|
||||
self.cmd.arg(path.as_ref());
|
||||
self
|
||||
}
|
||||
|
||||
/// Specify output directory.
|
||||
#[doc(alias = "output")]
|
||||
pub fn out_dir<P: AsRef<Path>>(&mut self, path: P) -> &mut Self {
|
||||
self.cmd.arg("--out-dir").arg(path.as_ref());
|
||||
self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue