Skip to content

chain simulator - integration with interactor #2248

chain simulator - integration with interactor

chain simulator - integration with interactor #2248

GitHub Actions / clippy failed Sep 19, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (20)

contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs|31 col 28| warning: unneeded return statement
--> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28
|
31 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
31 | "simulator" => true,
| ~~~~
contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs|32 col 23| warning: unneeded return statement
--> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23
|
32 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
32 | "real" => false,
| ~~~~~
contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs|31 col 28| warning: unneeded return statement
--> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28
|
31 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
31 | "simulator" => true,
| ~~~~
contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs|32 col 23| warning: unneeded return statement
--> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23
|
32 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
32 | "real" => false,
| ~~~~~
contracts/examples/adder/interact/src/basic_interact_config.rs|31 col 28| warning: unneeded return statement
--> contracts/examples/adder/interact/src/basic_interact_config.rs:31:28
|
31 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
31 | "simulator" => true,
| ~~~~
contracts/examples/adder/interact/src/basic_interact_config.rs|32 col 23| warning: unneeded return statement
--> contracts/examples/adder/interact/src/basic_interact_config.rs:32:23
|
32 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
32 | "real" => false,
| ~~~~~
contracts/feature-tests/composability/interact/src/comp_interact_config.rs|39 col 28| warning: unneeded return statement
--> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28
|
39 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
39 | "simulator" => true,
| ~~~~
contracts/feature-tests/composability/interact/src/comp_interact_config.rs|40 col 23| warning: unneeded return statement
--> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23
|
40 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
40 | "real" => false,
| ~~~~~
contracts/examples/multisig/interact/src/multisig_interact_config.rs|34 col 28| warning: unneeded return statement
--> contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28
|
34 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
34 | "simulator" => true,
| ~~~~
contracts/examples/multisig/interact/src/multisig_interact_config.rs|35 col 23| warning: unneeded return statement
--> contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23
|
35 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
35 | "real" => false,
| ~~~~~
contracts/examples/adder/interact/src/basic_interact_config.rs|31 col 28| warning: unneeded return statement
--> contracts/examples/adder/interact/src/basic_interact_config.rs:31:28
|
31 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
31 | "simulator" => true,
| ~~~~
contracts/examples/adder/interact/src/basic_interact_config.rs|32 col 23| warning: unneeded return statement
--> contracts/examples/adder/interact/src/basic_interact_config.rs:32:23
|
32 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
32 | "real" => false,
| ~~~~~
contracts/examples/multisig/interact/src/multisig_interact_config.rs|34 col 28| warning: unneeded return statement
--> contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28
|
34 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
34 | "simulator" => true,
| ~~~~
contracts/examples/multisig/interact/src/multisig_interact_config.rs|35 col 23| warning: unneeded return statement
--> contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23
|
35 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
35 | "real" => false,
| ~~~~~
tools/interactor-system-func-calls/src/system_sc_interact_config.rs|31 col 28| warning: unneeded return statement
--> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28
|
31 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
31 | "simulator" => true,
| ~~~~
tools/interactor-system-func-calls/src/system_sc_interact_config.rs|32 col 23| warning: unneeded return statement
--> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23
|
32 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
32 | "real" => false,
| ~~~~~
contracts/feature-tests/composability/interact/src/comp_interact_config.rs|39 col 28| warning: unneeded return statement
--> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28
|
39 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
39 | "simulator" => true,
| ~~~~
contracts/feature-tests/composability/interact/src/comp_interact_config.rs|40 col 23| warning: unneeded return statement
--> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23
|
40 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
40 | "real" => false,
| ~~~~~
tools/interactor-system-func-calls/src/system_sc_interact_config.rs|31 col 28| warning: unneeded return statement
--> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28
|
31 | "simulator" => return true,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: #[warn(clippy::needless_return)] on by default
help: remove return
|
31 | "simulator" => true,
| ~~~~
tools/interactor-system-func-calls/src/system_sc_interact_config.rs|32 col 23| warning: unneeded return statement
--> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23
|
32 | "real" => return false,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove return
|
32 | "real" => false,
| ~~~~~

Filtered Findings (0)

Annotations

Check warning on line 31 in contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs#L31

warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28:w:warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 32 in contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs#L32

warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23:w:warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 31 in contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs#L31

warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28:w:warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 32 in contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs#L32

warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23:w:warning: unneeded `return` statement
  --> contracts/feature-tests/basic-features/interact/src/bf_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 31 in contracts/examples/adder/interact/src/basic_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/adder/interact/src/basic_interact_config.rs#L31

warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/examples/adder/interact/src/basic_interact_config.rs:31:28:w:warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 32 in contracts/examples/adder/interact/src/basic_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/adder/interact/src/basic_interact_config.rs#L32

warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/examples/adder/interact/src/basic_interact_config.rs:32:23:w:warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 39 in contracts/feature-tests/composability/interact/src/comp_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/composability/interact/src/comp_interact_config.rs#L39

warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28
   |
39 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
39 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28:w:warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28
   |
39 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
39 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 40 in contracts/feature-tests/composability/interact/src/comp_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/composability/interact/src/comp_interact_config.rs#L40

warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23
   |
40 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
40 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23:w:warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23
   |
40 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
40 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 34 in contracts/examples/multisig/interact/src/multisig_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/multisig/interact/src/multisig_interact_config.rs#L34

warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28
   |
34 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
34 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28:w:warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28
   |
34 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
34 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 35 in contracts/examples/multisig/interact/src/multisig_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/multisig/interact/src/multisig_interact_config.rs#L35

warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23
   |
35 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
35 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23:w:warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23
   |
35 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
35 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 31 in contracts/examples/adder/interact/src/basic_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/adder/interact/src/basic_interact_config.rs#L31

warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/examples/adder/interact/src/basic_interact_config.rs:31:28:w:warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 32 in contracts/examples/adder/interact/src/basic_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/adder/interact/src/basic_interact_config.rs#L32

warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/examples/adder/interact/src/basic_interact_config.rs:32:23:w:warning: unneeded `return` statement
  --> contracts/examples/adder/interact/src/basic_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 34 in contracts/examples/multisig/interact/src/multisig_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/multisig/interact/src/multisig_interact_config.rs#L34

warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28
   |
34 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
34 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28:w:warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:34:28
   |
34 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
34 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 35 in contracts/examples/multisig/interact/src/multisig_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/examples/multisig/interact/src/multisig_interact_config.rs#L35

warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23
   |
35 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
35 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23:w:warning: unneeded `return` statement
  --> contracts/examples/multisig/interact/src/multisig_interact_config.rs:35:23
   |
35 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
35 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 31 in tools/interactor-system-func-calls/src/system_sc_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] tools/interactor-system-func-calls/src/system_sc_interact_config.rs#L31

warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~
Raw output
tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28:w:warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 32 in tools/interactor-system-func-calls/src/system_sc_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] tools/interactor-system-func-calls/src/system_sc_interact_config.rs#L32

warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~
Raw output
tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23:w:warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 39 in contracts/feature-tests/composability/interact/src/comp_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/composability/interact/src/comp_interact_config.rs#L39

warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28
   |
39 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
39 |             "simulator" => true,
   |                            ~~~~
Raw output
contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28:w:warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:39:28
   |
39 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
39 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 40 in contracts/feature-tests/composability/interact/src/comp_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/feature-tests/composability/interact/src/comp_interact_config.rs#L40

warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23
   |
40 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
40 |             "real" => false,
   |                       ~~~~~
Raw output
contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23:w:warning: unneeded `return` statement
  --> contracts/feature-tests/composability/interact/src/comp_interact_config.rs:40:23
   |
40 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
40 |             "real" => false,
   |                       ~~~~~


__END__

Check warning on line 31 in tools/interactor-system-func-calls/src/system_sc_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] tools/interactor-system-func-calls/src/system_sc_interact_config.rs#L31

warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~
Raw output
tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28:w:warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:31:28
   |
31 |             "simulator" => return true,
   |                            ^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
31 |             "simulator" => true,
   |                            ~~~~


__END__

Check warning on line 32 in tools/interactor-system-func-calls/src/system_sc_interact_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] tools/interactor-system-func-calls/src/system_sc_interact_config.rs#L32

warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~
Raw output
tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23:w:warning: unneeded `return` statement
  --> tools/interactor-system-func-calls/src/system_sc_interact_config.rs:32:23
   |
32 |             "real" => return false,
   |                       ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
   |
32 |             "real" => false,
   |                       ~~~~~


__END__