Jakub Dąbek
Jakub Dąbek
Right now there is only `into_inner` which doesn't finalize the en/decoder's job, and `close`/`shutdown` passes to the writer it is wrapping, which is sometimes undesirable.
In the example code https://docs.rs/crossbeam-channel/0.5.1/crossbeam_channel/struct.Select.html#examples-4 there's a comment saying "Both operations are initially ready, so a random one will be executed.", although the asserts paint a different picture, as only...
When I'm on a type's doc page and it has a lot of methods, it's tedious to scroll the sidebar to `Trait implementations` or other sections (could also `ctrl+F`, but...
Use case: ```rust #[derive(Derivative)] #[derivative(Debug, Default, Clone)] pub struct FooConfig { bar: bool, _c: PhantomData, } #[derive(Derivative)] #[derivative(Debug(bound = ""), Clone(bound = ""), Default(bound = ""))] pub struct Foo {...
### What it does Detects code that uses `Vec::append` or `Vec::extend` with a newly-created `vec!`. ### Advantage - Removes unnecessary allocations - Clearer intent with `push` instead of `append`/`extend` ###...