diff --git a/src/cmd/serve.rs b/src/cmd/serve.rs index 78180710a7..dd4a4b446f 100644 --- a/src/cmd/serve.rs +++ b/src/cmd/serve.rs @@ -419,7 +419,7 @@ pub fn serve( broadcaster }; - println!("Listening for changes in {}{{{}}}", root_dir.display(), watchers.join(", ")); + println!("Listening for changes in {}{{{}}}", root_dir.display(), watchers.join(",")); println!("Press Ctrl+C to stop\n"); // Delete the output folder on ctrl+C @@ -764,9 +764,9 @@ mod tests { #[cfg(windows)] fn windows_path_handling() { let expected = (ChangeKind::Templates, PathBuf::from("/templates/hello.html")); - let pwd = Path::new(r#"C:\\Users\johan\site"#); - let path = Path::new(r#"C:\\Users\johan\site\templates\hello.html"#); - let config_filename = Path::new(r#"C:\\Users\johan\site\config.toml"#); + let pwd = Path::new(r#"C:\Users\johan\site"#); + let path = Path::new(r#"C:\Users\johan\site\templates\hello.html"#); + let config_filename = Path::new(r#"C:\Users\johan\site\config.toml"#); assert_eq!(expected, detect_change_kind(pwd, path, config_filename)); }