diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-16 17:32:25 +0300 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-09-16 17:32:25 +0300 |
commit | 9360266301978a79532fd83df10e95e71c7b0bd3 (patch) | |
tree | d63c8e060fba33e4914eb1dc00a70c00d4cdfbc3 | |
parent | 585ef59ab06643cdfc6dc676524bbfe7df24c620 (diff) |
Force internal iterator to inline.
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -646,6 +646,7 @@ impl DirList { impl Iterator for DirList { type Item = Result<fs::DirEntry>; + #[inline(always)] fn next(&mut self) -> Option<Result<fs::DirEntry>> { match *self { DirList::Closed(ref mut it) => it.next(), |