summaryrefslogtreecommitdiffstats
path: root/vendor/tempfile/src
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
commitef24de24a82fe681581cc130f342363c47c0969a (patch)
tree0d494f7e1a38b95c92426f58fe6eaa877303a86c /vendor/tempfile/src
parentReleasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz
rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/tempfile/src')
-rw-r--r--vendor/tempfile/src/file/mod.rs6
1 files changed, 3 insertions, 3 deletions
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<File> {
/// 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<F> NamedTempFile<F> {
/// # 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<F> NamedTempFile<F> {
/// # 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