Skip to content

Commit a82e6dc

Browse files
committed
adapt comment
1 parent 3fdf1fd commit a82e6dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docbuilder/caching.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ impl ArtifactCache {
6262
) -> Result<()> {
6363
let target_dir = target_dir.as_ref();
6464
if target_dir.exists() {
65-
// to be safe, while most of the time the dir doesn't exist,
66-
// or is empty.
65+
// Delete the target dir to be safe, even though most of the
66+
// time the dir doesn't exist or is empty.
6767
fs::remove_dir_all(target_dir).context("could not clean target directory")?;
6868
}
6969

0 commit comments

Comments
 (0)