Thomas B
Thomas B
Resolves #607
The `RefCell` is unnecessary, as all we're doing is `.take()`, which is also available on `Cell`: https://doc.rust-lang.org/stable/std/cell/struct.Cell.html#method.take https://github.com/rust-itertools/itertools/blob/943494c2be3977a42df701dfde90d903ae17d16d/src/format.rs#L14 This results in using more memory and generating more code than necessary.
A typical use-case for process-results is e.g. ```rust let final_map = itertools::process_results( some .long() .chain() .of() .iterator() .adapters(), |it| it.into_group_map(), )?; ``` With the chain of iterator adapters getting longer...
It might be useful to add a chain_with function to the itertools that does the same thing as chain but lazily calling the function that builds the iterator. This would...
Calling `iterator.chunks(10).into_iter()` (or similar with GroupBy) returns something that references a temporary value, and can't be used as owned. This is often unexpected as it does not respect the usual...
It is sometimes useful to get the past expected runs of a cron expression. So it would be great to have a `Schedule::before`, working the same as `Schedule::after`, but going...
Is there any particular reason why [`BytesMut`](https://docs.rs/bytes/0.5.6/bytes/struct.BytesMut.html) does not implement [`std::io::Write`](https://doc.rust-lang.org/nightly/std/io/trait.Write.html)? `Vec` has it implemented. It looks like `BytesMut` should support that as well. (NB: `BytesMut` has `std::fmt::Write` implemented, I'm...
**Describe the bug** Random crashing when sending large amounts of data through a stream. We get the error: `RpcStatus { status: Unknown, details: Some("Stream removed") }` The following lines are...
Hello, I'd like to send metatata from the server-side as result of a call. From what I see, in other languages, this would be done on the `Context` object: https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-metadata.md...