diff options
Diffstat (limited to 'src/libstd/io/tempfile.rs')
| -rw-r--r-- | src/libstd/io/tempfile.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/io/tempfile.rs b/src/libstd/io/tempfile.rs index 5ca7e417af6..f580dfd80f0 100644 --- a/src/libstd/io/tempfile.rs +++ b/src/libstd/io/tempfile.rs @@ -12,7 +12,7 @@ use io::{fs, IoResult}; use io; -use iter::{Iterator, range}; +use iter::range; use libc; use ops::Drop; use option::{Option, None, Some}; @@ -21,6 +21,9 @@ use path::{Path, GenericPath}; use result::{Ok, Err}; use sync::atomics; +#[cfg(stage0)] +use iter::Iterator; // NOTE(stage0): Remove after snapshot. + /// A wrapper for a path to temporary directory implementing automatic /// scope-based deletion. pub struct TempDir { |
