From 6cf65365a4b785ed12d24e4a60b526e2c600210e Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 21 Feb 2025 11:02:34 -0800 Subject: [PATCH] doc: fix markdown --- src/file/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file/mod.rs b/src/file/mod.rs index d61764ec4..4eb6b6755 100644 --- a/src/file/mod.rs +++ b/src/file/mod.rs @@ -728,8 +728,8 @@ impl NamedTempFile { /// **Atomicity:** This method is not guaranteed to be atomic on all platforms, although it will /// generally be atomic on Windows and modern Linux filesystems. While it will never overwrite a /// file at the target path, it may leave the original link to the temporary file behind leaving - /// you with two [hard links][] in your filesystem pointing at the same underlying file. This - /// can happen if either (a) we lack permission to "unlink" the original filename; (b) this + /// you with two [hard links][hardlink] in your filesystem pointing at the same underlying file. + /// This can happen if either (a) we lack permission to "unlink" the original filename; (b) this /// program crashes while persisting the temporary file; or (c) the filesystem is removed, /// unmounted, etc. while we're performing this operation. ///