From 3fe2882fd5381836f035efe1d8f2d7d79d002adb Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sat, 22 Feb 2025 12:12:12 -1000 Subject: [PATCH] Remove TODO around atomic writes (#11710) ## Summary We chatted about this a bit on Discord, and I think it's not required. --- crates/uv-fs/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/uv-fs/src/lib.rs b/crates/uv-fs/src/lib.rs index 5c84928bb..ea7cdffd7 100644 --- a/crates/uv-fs/src/lib.rs +++ b/crates/uv-fs/src/lib.rs @@ -117,8 +117,6 @@ pub fn replace_symlink(src: impl AsRef, dst: impl AsRef) -> std::io: /// Create a symlink at `dst` pointing to `src`, replacing any existing symlink if necessary. /// /// On Unix, this method creates a temporary file, then moves it into place. -/// -/// TODO(charlie): Consider using the `rust-atomicwrites` crate. #[cfg(unix)] pub fn replace_symlink(src: impl AsRef, dst: impl AsRef) -> std::io::Result<()> { // Attempt to create the symlink directly.