summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/bsd.rs1
-rw-r--r--src/mount/mod.rs3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mount/bsd.rs b/src/mount/bsd.rs
index f0a9443a..9913fc20 100644
--- a/src/mount/bsd.rs
+++ b/src/mount/bsd.rs
@@ -347,6 +347,7 @@ impl<'a> Nmount<'a> {
self
}
+ /// Create a new `Nmount` struct with no options
pub fn new() -> Self {
Self::default()
}
diff --git a/src/mount/mod.rs b/src/mount/mod.rs
index 8538bf3d..00303b6a 100644
--- a/src/mount/mod.rs
+++ b/src/mount/mod.rs
@@ -1,7 +1,10 @@
+//! Mount file systems
#[cfg(any(target_os = "android", target_os = "linux"))]
+#[allow(missing_docs)]
mod linux;
#[cfg(any(target_os = "android", target_os = "linux"))]
+#[allow(missing_docs)]
pub use self::linux::*;
#[cfg(any(target_os = "dragonfly",