Fix dead_code warning for arg_watcher

This commit is contained in:
Eric Huss 2024-05-16 17:37:23 -07:00
parent b960c697dc
commit 965f7bde0d

View file

@ -37,6 +37,7 @@ pub trait CommandExt: Sized {
self._arg(arg!(-o --open "Opens the compiled book in a web browser"))
}
#[cfg(any(feature = "watch", feature = "serve"))]
fn arg_watcher(self) -> Self {
#[cfg(feature = "watch")]
return self._arg(