Skip to content

Commit 8d4ae38

Browse files
committed
update comment
1 parent 7082689 commit 8d4ae38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/watch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ fn find_gitignore(book_root: &Path) -> Option<PathBuf> {
8787
.find(|p| p.exists())
8888
}
8989

90-
// Using `canonicalize` can fail on Windows sometimes, might be a potential risk.
91-
// see ([https://github.com/rust-lang/mdBook/pull/2229#discussion_r1408665981).
90+
// Note: The usage of `canonicalize` may encounter occasional failures on the Windows platform, presenting a potential risk.
91+
// For more details, refer to [Pull Request #2229](https://github.com/rust-lang/mdBook/pull/2229#discussion_r1408665981).
9292
fn filter_ignored_files(ignore: Gitignore, paths: &[PathBuf]) -> Vec<PathBuf> {
9393
let ignore_root = ignore
9494
.path()

0 commit comments

Comments
 (0)