This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
feat: try with catche #44
Annotations
3 errors
this loop never actually loops:
stacks-common/./src/deps_common/httparse/mod.rs#L748
error: this loop never actually loops
--> stacks-common/./src/deps_common/httparse/mod.rs:748:13
|
748 | / 'value: loop {
749 | | // eat white space between colon and value
750 | | 'whitespace: loop {
751 | | b = next!(bytes);
... |
792 | | }
793 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
= note: `#[deny(clippy::never_loop)]` on by default
|
call to `reserve` immediately after creation:
stacks-common/./src/util/hash.rs#L546
error: call to `reserve` immediately after creation
--> stacks-common/./src/util/hash.rs:546:9
|
546 | / let mut path: MerklePath<H> = vec![];
547 | | path.reserve(self.nodes.len());
| |_______________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut path: MerklePath<H> = Vec::with_capacity(self.nodes.len());`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization
|
call to `reserve` immediately after creation:
stacks-common/./src/util/hash.rs#L422
error: call to `reserve` immediately after creation
--> stacks-common/./src/util/hash.rs:422:13
|
422 | / let mut row_hashes = vec![];
423 | | row_hashes.reserve(nodes[i].len() / 2);
| |___________________________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut row_hashes = Vec::with_capacity(nodes[i].len() / 2);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization
= note: `-D clippy::reserve-after-initialization` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::reserve_after_initialization)]`
|