Merge pull request #2384 from ehuss/arg_watcher-dead-code
Fix dead_code warning for arg_watcher
This commit is contained in:
commit
e0e13e375e
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ pub trait CommandExt: Sized {
|
||||||
self._arg(arg!(-o --open "Opens the compiled book in a web browser"))
|
self._arg(arg!(-o --open "Opens the compiled book in a web browser"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "watch", feature = "serve"))]
|
||||||
fn arg_watcher(self) -> Self {
|
fn arg_watcher(self) -> Self {
|
||||||
#[cfg(feature = "watch")]
|
#[cfg(feature = "watch")]
|
||||||
return self._arg(
|
return self._arg(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue