Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clippy: core lints (solana-labs#34629)
``` warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> core/src/banking_stage/consumer.rs:153:29 | 153 | packets_to_process: &Vec<Arc<ImmutableDeserializedPacket>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[Arc<ImmutableDeserializedPacket>]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default warning: `solana-core` (lib) generated 1 warning ``` ``` warning: unit tests in doctest are not executed --> core/tests/fork-selection.rs:15:5 | 15 | //! #[test] | _____^ 16 | | //! #[ignore] 17 | | //! fn test_all_partitions() { | |__________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#test_attr_in_doctest = note: `#[warn(clippy::test_attr_in_doctest)]` on by default warning: `solana-core` (test "fork-selection") generated 1 warning ```
- Loading branch information