Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed May 30, 2024
1 parent 7e7104f commit d973c34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dex/interactor/src/structs.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#[allow(dead_code)]

Check failure on line 1 in dex/interactor/src/structs.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] dex/interactor/src/structs.rs#L1

error: useless lint attribute --> dex/interactor/src/structs.rs:1:1 | 1 | #[allow(dead_code)] | ^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use: `#![allow(dead_code)]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute = note: `#[deny(clippy::useless_attribute)]` on by default
Raw output
dex/interactor/src/structs.rs:1:1:e:error: useless lint attribute
 --> dex/interactor/src/structs.rs:1:1
  |
1 | #[allow(dead_code)]
  | ^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use: `#![allow(dead_code)]`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute
  = note: `#[deny(clippy::useless_attribute)]` on by default


__END__

Check failure on line 1 in dex/interactor/src/structs.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] dex/interactor/src/structs.rs#L1

error: useless lint attribute --> dex/interactor/src/structs.rs:1:1 | 1 | #[allow(dead_code)] | ^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use: `#![allow(dead_code)]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute = note: `#[deny(clippy::useless_attribute)]` on by default
Raw output
dex/interactor/src/structs.rs:1:1:e:error: useless lint attribute
 --> dex/interactor/src/structs.rs:1:1
  |
1 | #[allow(dead_code)]
  | ^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use: `#![allow(dead_code)]`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute
  = note: `#[deny(clippy::useless_attribute)]` on by default


__END__

use multiversx_sc_scenario::{
api::StaticApi,
imports::{
Expand Down

0 comments on commit d973c34

Please sign in to comment.