Skip to content

Commit df7c5c8

Browse files
authored
refactor: remove outdated comment (#685)
Removing comment leftover from the free GIL PR.
1 parent c964e40 commit df7c5c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

safetensors/src/tensor.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,6 @@ fn buffered_write_to_file<V: View>(
321321
/// Serialize to a regular file the dictionnary of tensors.
322322
/// Writing directly to file reduces the need to allocate the whole amount to
323323
/// memory.
324-
///
325-
/// On Windows, this function writes to a temporary file first, then renames it
326-
/// to the target path. This avoids errors when the target file is memory-mapped
327-
/// (e.g., by another process reading the file via mmap).
328324
#[cfg(feature = "std")]
329325
pub fn serialize_to_file<S, V, I>(
330326
data: I,

0 commit comments

Comments
 (0)