diff options
author | Andrew Gallant <jamslam@gmail.com> | 2017-10-21 05:32:42 +0300 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-10-21 15:10:18 +0300 |
commit | a5de1ec0c8d9467e47e4ea266fb44213174009f8 (patch) | |
tree | ad1689d2292b90d84bcc6c7b185bf500db291789 | |
parent | 45d2f69885ae2f3d607c5d5490848cc10912d474 (diff) |
unix: actually export DirEntryExt
-rw-r--r-- | src/lib.rs | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -128,8 +128,13 @@ use std::vec; use same_file::is_same_file; -#[cfg(unix)] mod unix; -#[cfg(test)] mod tests; +#[cfg(unix)] +pub use unix::DirEntryExt; + +#[cfg(test)] +mod tests; +#[cfg(unix)] +mod unix; /// Like try, but for iterators that return [`Option<Result<_, _>>`]. /// |