summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys/select.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sys/select.rs b/src/sys/select.rs
index bfc0e80e..b914ffae 100644
--- a/src/sys/select.rs
+++ b/src/sys/select.rs
@@ -73,13 +73,11 @@ impl FdSet {
/// # extern crate nix;
/// # use nix::sys::select::FdSet;
/// # use std::os::unix::io::RawFd;
- /// # fn main() {
/// let mut set = FdSet::new();
/// set.insert(4);
/// set.insert(9);
/// let fds: Vec<RawFd> = set.fds().collect();
/// assert_eq!(fds, vec![4, 9]);
- /// # }
/// ```
#[inline]
pub fn fds(&self) -> Fds {