From 8d4ae388fa237f2406e57b9ea37f449a95884b43 Mon Sep 17 00:00:00 2001 From: leonzchang Date: Wed, 29 Nov 2023 11:51:23 +0800 Subject: [PATCH] update comment --- src/cmd/watch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/watch.rs b/src/cmd/watch.rs index 9d9960f7..1e336b29 100644 --- a/src/cmd/watch.rs +++ b/src/cmd/watch.rs @@ -87,8 +87,8 @@ fn find_gitignore(book_root: &Path) -> Option { .find(|p| p.exists()) } -// Using `canonicalize` can fail on Windows sometimes, might be a potential risk. -// see ([https://github.com/rust-lang/mdBook/pull/2229#discussion_r1408665981). +// Note: The usage of `canonicalize` may encounter occasional failures on the Windows platform, presenting a potential risk. +// For more details, refer to [Pull Request #2229](https://github.com/rust-lang/mdBook/pull/2229#discussion_r1408665981). fn filter_ignored_files(ignore: Gitignore, paths: &[PathBuf]) -> Vec { let ignore_root = ignore .path()