diff options
| author | bors <bors@rust-lang.org> | 2014-02-15 18:56:29 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-02-15 18:56:29 -0800 |
| commit | 49ba513c78e6430e55e5478f478a157e085a639a (patch) | |
| tree | 9be5813d2a35aab215e17d101e66f3452535f8f5 /src/libstd/sync/mpmc_bounded_queue.rs | |
| parent | 0c62d9d83d150c6937905288d69bf874c9fe81c3 (diff) | |
| parent | 23fdbcf7dddca3aae0ab02ee205344659f33abcb (diff) | |
| download | rust-49ba513c78e6430e55e5478f478a157e085a639a.tar.gz rust-49ba513c78e6430e55e5478f478a157e085a639a.zip | |
auto merge of #12299 : sfackler/rust/limit-return, r=alexcrichton
This is useful in contexts like this: ```rust let size = rdr.read_be_i32() as uint; let mut limit = LimitReader::new(rdr.by_ref(), size); let thing = read_a_thing(&mut limit); assert!(limit.limit() == 0); ```
Diffstat (limited to 'src/libstd/sync/mpmc_bounded_queue.rs')
0 files changed, 0 insertions, 0 deletions
