diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-07-11 10:12:38 -0700 | 
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-07-23 13:20:10 -0700 | 
| commit | d36a8f3f9c70c63ed9042d83cdc47392d12b3886 (patch) | |
| tree | 821721bb8fc6e81e4301cc76ba2ddf450d011b4f /src/libstd/io/extensions.rs | |
| parent | c080d26d328d6e8bbf4b159b5c5f3cd55c86f621 (diff) | |
| download | rust-d36a8f3f9c70c63ed9042d83cdc47392d12b3886.tar.gz rust-d36a8f3f9c70c63ed9042d83cdc47392d12b3886.zip | |
collections: Move push/pop to MutableSeq
Implement for Vec, DList, RingBuf. Add MutableSeq to the prelude. Since the collections traits are in the prelude most consumers of these methods will continue to work without change. [breaking-change]
Diffstat (limited to 'src/libstd/io/extensions.rs')
| -rw-r--r-- | src/libstd/io/extensions.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/libstd/io/extensions.rs b/src/libstd/io/extensions.rs index ca3eee01575..5215aec5dfb 100644 --- a/src/libstd/io/extensions.rs +++ b/src/libstd/io/extensions.rs @@ -15,7 +15,7 @@ // FIXME: Not sure how this should be structured // FIXME: Iteration should probably be considered separately -use collections::Collection; +use collections::{Collection, MutableSeq}; use iter::Iterator; use option::{Option, Some, None}; use result::{Ok, Err}; | 
