From 8b486dfc717fcf3a3492e715f7c7adb86e3e9282 Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Sat, 12 Nov 2022 14:23:05 -0800 Subject: [PATCH] Fix compilation failure --- src/cmd/watch.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmd/watch.rs b/src/cmd/watch.rs index a3c9d546..68921810 100644 --- a/src/cmd/watch.rs +++ b/src/cmd/watch.rs @@ -149,7 +149,10 @@ where for dir in &book.config.build.extra_watch_dirs { let path = dir.canonicalize().unwrap(); if let Err(e) = watcher.watch(&path, Recursive) { - error!("Error while watching extra directory {path:?}:\n {e:?}"); + error!( + "Error while watching extra directory {:?}:\n {:?}", + path, e + ); std::process::exit(1); } }