Raphael Speyer rapha

rapha starred nrc/rustfmt
@rapha
  • @rapha 9f3c11c
    added description and repository URL
rapha created branch master at rapha/iter_reader
rapha created repository rapha/iter_reader
rapha commented on pull request rust-lang/rust#24787
@rapha

What I need to do is something like reader.read_u16::<BigEndian>() reading from a Receiver<Vec<u8>>. I don't think that's possible right now. Perha…

rapha commented on pull request rust-lang/rust#24787
@rapha

The use case is actually to replace the old ChanReader in a generic way. Given a Receiver<Vec<u8>> I want to be able to read from it. One of the te…

rapha commented on pull request rust-lang/rust#24787
@rapha

Hmm, chain seems to concatenate two readers, but this is an adaptor from a plain Iterator>, for example, to a Reader. Have I understood chain corre…

rapha opened pull request rust-lang/rust#24787
@rapha
Add std::io::IterReader
1 commit with 215 additions and 0 deletions
rapha pushed to master at rapha/rust
@rapha
rapha pushed to master at rapha/rust
@rapha
rapha pushed to master at rapha/rust
@rapha
  • @rapha 47ebc48
    Implement IntoIterator for Receiver
rapha commented on pull request rust-lang/rust#24633
@rapha

Done

rapha pushed to master at rapha/rust
@rapha
  • @rapha 97c58c1
    Implement IntoIterator for Receiver
rapha pushed to master at rapha/rust
@rapha
rapha commented on pull request rust-lang/rust#24633
@rapha

@bluss Is this the implementation of IntoIterator for &Receiver what you had in mind?

rapha pushed to master at rapha/rust
@rapha
  • @rapha ae688f0
    remove extra copy-pasted line
rapha pushed to master at rapha/rust
@rapha
  • @rapha 8f519e9
    fix feature name from rust1.1 to rust1_1
rapha pushed to master at rapha/rust
@rapha
  • @rapha a23e66a
    implemented IntoIterator for &Receiver
rapha pushed to master at rapha/rust
@rapha
  • @rapha dad3933
    use unique feature name for std::sync::mpsc::IntoIter
rapha pushed to master at rapha/rust
@rapha
rapha pushed to master at rapha/rust
@rapha
  • @rapha bea7932
    bumped version number of std::sync::mpsc::IntoIter
rapha commented on pull request rust-lang/rust#24633
@rapha

Do you need me to do anything more on this?

rapha commented on pull request rust-lang/rust#24633
@rapha

Thanks. I added doc and stability annotations to match those on the Iter type, adding that it was an "owning" iterator.

rapha pushed to master at rapha/rust
@rapha
  • @rapha b2d86a7
    Added doc and stable annotations to sync::mpsc::IntoIter and removed …
rapha pushed to master at rapha/rust
@rapha
rapha opened pull request rust-lang/rust#24633
@rapha
Implement IntoIterator for Receiver
1 commit with 35 additions and 0 deletions
rapha pushed to master at rapha/rust
@rapha
  • @rapha ffdcfd6
    implement IntoIterator for Receiver
rapha pushed to master at rapha/rust
@rapha