mirror of
https://github.com/ProvableHQ/leo.git
synced 2025-01-04 08:13:17 +03:00
clippy: allow len_without_is_empty
Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
bdfb6f5fb5
commit
ea3542b30e
@ -37,6 +37,7 @@ impl Default for Input {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::len_without_is_empty)]
|
||||
impl Input {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
|
@ -23,6 +23,7 @@ pub struct MainInput {
|
||||
input: HashMap<String, Option<InputValue>>,
|
||||
}
|
||||
|
||||
#[allow(clippy::len_without_is_empty)]
|
||||
impl MainInput {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
|
@ -26,6 +26,7 @@ pub struct ProgramInput {
|
||||
registers: Registers,
|
||||
}
|
||||
|
||||
#[allow(clippy::len_without_is_empty)]
|
||||
impl ProgramInput {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
|
@ -26,6 +26,7 @@ pub struct PrivateState {
|
||||
state_leaf: StateLeaf,
|
||||
}
|
||||
|
||||
#[allow(clippy::len_without_is_empty)]
|
||||
impl PrivateState {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
|
@ -26,6 +26,7 @@ pub struct ProgramState {
|
||||
private: PrivateState,
|
||||
}
|
||||
|
||||
#[allow(clippy::len_without_is_empty)]
|
||||
impl ProgramState {
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
|
Loading…
Reference in New Issue
Block a user