diff options
| author | bors <bors@rust-lang.org> | 2014-11-08 21:06:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-11-08 21:06:37 +0000 |
| commit | f0ca717c643cbef31859e443ee20db4465ac8864 (patch) | |
| tree | 05190af84acccdfc795368a8e2431ab3f43038b5 /src/libstd/io | |
| parent | b80edf1d1257bf521fd9e62b732b6302258374e7 (diff) | |
| parent | a11f16739f08ec480263ba549d510fffc8ce557e (diff) | |
| download | rust-f0ca717c643cbef31859e443ee20db4465ac8864.tar.gz rust-f0ca717c643cbef31859e443ee20db4465ac8864.zip | |
auto merge of #18475 : gamazeps/rust/toExtend, r=alexcrichton
Ensured that Extend & FromIterator are implemented for the libcollection. Removed the fact that FromIterator had to be implemented in order to implement Extend, as it did not make sense for LruCache (it needs to be given a size and there are no Default for LruCache). Changed the name from Extend to Extendable. Part of #18424
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/fs.rs b/src/libstd/io/fs.rs index c95d2c3f328..e76046bac05 100644 --- a/src/libstd/io/fs.rs +++ b/src/libstd/io/fs.rs @@ -60,7 +60,7 @@ use io::{IoResult, IoError, FileStat, SeekStyle, Seek, Writer, Reader}; use io::{Read, Truncate, SeekCur, SeekSet, ReadWrite, SeekEnd, Append}; use io::UpdateIoError; use io; -use iter::{Iterator, Extendable}; +use iter::{Iterator, Extend}; use kinds::Send; use libc; use option::{Some, None, Option}; |
