summaryrefslogtreecommitdiffstats
path: root/vendor/fs-err/src/open_options.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fs-err/src/open_options.rs')
-rw-r--r--vendor/fs-err/src/open_options.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/fs-err/src/open_options.rs b/vendor/fs-err/src/open_options.rs
index 2a11a3974..557fa7abe 100644
--- a/vendor/fs-err/src/open_options.rs
+++ b/vendor/fs-err/src/open_options.rs
@@ -5,6 +5,7 @@ pub struct OpenOptions(fs::OpenOptions);
impl OpenOptions {
/// Wrapper for [`std::fs::OpenOptions::new`](https://doc.rust-lang.org/std/fs/struct.OpenOptions.html#method.new)
+ #[allow(clippy::new_without_default)]
pub fn new() -> Self {
OpenOptions(fs::OpenOptions::new())
}