Skip to content

revert logic for addTickets endpoint

Sign in for the full log view
GitHub Actions / clippy failed Nov 13, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

launchpad-guaranteed-tickets-v2/tests/guaranteed_tickets_test.rs|42 col 34| warning: useless conversion to the same type: (u64, u64)
--> launchpad-guaranteed-tickets-v2/tests/guaranteed_tickets_test.rs:42:34
|
42 | let unlock_milestones = vec![(0, 10000).into()];
| ^^^^^^^^^^^^^^^^^ help: consider removing .into(): (0, 10000)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: #[warn(clippy::useless_conversion)] on by default

Filtered Findings (0)

Annotations

Check warning on line 42 in launchpad-guaranteed-tickets-v2/tests/guaranteed_tickets_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] launchpad-guaranteed-tickets-v2/tests/guaranteed_tickets_test.rs#L42

warning: useless conversion to the same type: `(u64, u64)`
  --> launchpad-guaranteed-tickets-v2/tests/guaranteed_tickets_test.rs:42:34
   |
42 |     let unlock_milestones = vec![(0, 10000).into()];
   |                                  ^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(0, 10000)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
   = note: `#[warn(clippy::useless_conversion)]` on by default
Raw output
launchpad-guaranteed-tickets-v2/tests/guaranteed_tickets_test.rs:42:34:w:warning: useless conversion to the same type: `(u64, u64)`
  --> launchpad-guaranteed-tickets-v2/tests/guaranteed_tickets_test.rs:42:34
   |
42 |     let unlock_milestones = vec![(0, 10000).into()];
   |                                  ^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(0, 10000)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
   = note: `#[warn(clippy::useless_conversion)]` on by default


__END__