Skip to content

Commit

Permalink
Correct docs about what this is equivalent to (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-work committed Sep 19, 2023
1 parent 080fd58 commit b8e0411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b8e0411

Please sign in to comment.