Update bigdecimal requirement from ^0.3 to ^0.4 #28
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (7)
src/paged_client.rs|63 col 11| warning: trait AsyncIteratorAsyncNext
is never used
--> src/paged_client.rs:63:11
|
63 | pub trait AsyncIteratorAsyncNext {
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)]
on by default
Cargo.toml|27 col 11| error: lint group nursery
has the same priority (0) as a lint
--> Cargo.toml:27:1
|
27 | nursery = "deny"
| ^^^^^^^ ------ has an implicit priority of 0
...
32 | return_self_not_must_use = "allow"
| ------------------------ has the same priority as this lint
|
= note: the order of the lints in the table is ignored by Cargo
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lint_groups_priority
= note: #[deny(clippy::lint_groups_priority)]
on by default
help: to have lints override the group set nursery
to a lower priority
|
27 | nursery = { level = "deny", priority = -1 }
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cargo.toml|26 col 12| error: lint group pedantic
has the same priority (0) as a lint
--> Cargo.toml:26:1
|
26 | pedantic = "deny"
| ^^^^^^^^ ------ has an implicit priority of 0
...
32 | return_self_not_must_use = "allow"
| ------------------------ has the same priority as this lint
|
= note: the order of the lints in the table is ignored by Cargo
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lint_groups_priority
help: to have lints override the group set pedantic
to a lower priority
|
26 | pedantic = { level = "deny", priority = -1 }
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/paged_client.rs|94 col 15| error: assigning the result of Clone::clone()
may be inefficient
--> src/paged_client.rs:94:15
|
94 | self.after = Option::clone(&va.paging.after);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use clone_from()
: Clone::clone_from(&mut self.after, &va.paging.after)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: -D clippy::assigning-clones
implied by -D clippy::pedantic
= help: to override -D clippy::pedantic
add #[allow(clippy::assigning_clones)]
src/lib.rs|27 col 7| error: this could be a const fn
--> src/lib.rs:27:7
|
27 | / pub fn new() -> Self {
28 | | Self { params: Vec::new(), base: BasePageParams::new() }
29 | | }
| |^
|
::: src/types/page.rs:39:1
|
39 | impl_base_query_params!(PagingAddressRequestBuilder);
| ---------------------------------------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
= note: -D clippy::missing-const-for-fn
implied by -D clippy::nursery
= help: to override -D clippy::nursery
add #[allow(clippy::missing_const_for_fn)]
= note: this error originates in the macro impl_base_query_params
(in Nightly builds, run with -Z macro-backtrace for more info)
help: make the function const
|
27 | pub const fn new() -> Self {
| +++++
src/lib.rs|27 col 7| error: this could be a const fn
--> src/lib.rs:27:7
|
27 | / pub fn new() -> Self {
28 | | Self { params: Vec::new(), base: BasePageParams::new() }
29 | | }
| |^
|
::: src/types/page.rs:47:1
|
47 | impl_base_query_params!(PagingVaultRequestBuilder);
| -------------------------------------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
= note: this error originates in the macro impl_base_query_params
(in Nightly builds, run with -Z macro-backtrace for more info)
help: make the function const
|
27 | pub const fn new() -> Self {
| +++++
src/lib.rs|27 col 7| error: this could be a const fn
--> src/lib.rs:27:7
|
27 | / pub fn new() -> Self {
28 | | Self { params: Vec::new(), base: BasePageParams::new() }
29 | | }
| |_______^
|
::: src/types/transaction.rs:86:1
|
86 | impl_base_query_params!(TransactionListBuilder);
| ----------------------------------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
= note: this error originates in the macro impl_base_query_params
(in Nightly builds, run with -Z macro-backtrace for more info)
help: make the function const
|
27 | pub const fn new() -> Self {
| +++++