Remove duplicated Rustdoc::output method from run-make-support lib

This commit is contained in:
Guillaume Gomez 2024-08-15 14:44:38 +02:00
parent 026e9ed3f0
commit a19a8f8e52

View File

@ -71,14 +71,8 @@ pub fn input<P: AsRef<Path>>(&mut self, path: P) -> &mut Self {
self 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. /// Specify output directory.
#[doc(alias = "output")]
pub fn out_dir<P: AsRef<Path>>(&mut self, path: P) -> &mut Self { pub fn out_dir<P: AsRef<Path>>(&mut self, path: P) -> &mut Self {
self.cmd.arg("--out-dir").arg(path.as_ref()); self.cmd.arg("--out-dir").arg(path.as_ref());
self self