From ef24de24a82fe681581cc130f342363c47c0969a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 07:48:48 +0200 Subject: Merging upstream version 1.75.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/tempfile/src/file/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/tempfile/src') diff --git a/vendor/tempfile/src/file/mod.rs b/vendor/tempfile/src/file/mod.rs index aca44ced5..8a28343e0 100644 --- a/vendor/tempfile/src/file/mod.rs +++ b/vendor/tempfile/src/file/mod.rs @@ -611,7 +611,7 @@ impl NamedTempFile { /// This is equivalent to: /// /// ```ignore - /// Builder::new().prefix(&prefix).tempfile() + /// Builder::new().tempfile_in(dir) /// ``` /// /// See [`NamedTempFile::new()`] for details. @@ -731,7 +731,7 @@ impl NamedTempFile { /// # Security /// /// This method persists the temporary file using its path and may not be - /// secure in the in all cases. Please read the security section on the top + /// secure in all cases. Please read the security section on the top /// level documentation of this type for details. /// /// # Errors @@ -785,7 +785,7 @@ impl NamedTempFile { /// # Security /// /// This method persists the temporary file using its path and may not be - /// secure in the in all cases. Please read the security section on the top + /// secure in all cases. Please read the security section on the top /// level documentation of this type for details. /// /// # Errors -- cgit v1.2.3