Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Support Non-permissioned builder/ logic refactoring #96

Support Non-permissioned builder/ logic refactoring

Support Non-permissioned builder/ logic refactoring #96

GitHub Actions / clippy failed Apr 3, 2024 in 1s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.1 (7cf61ebde 2024-03-27)
  • cargo 1.77.1 (e52e36006 2024-03-26)
  • clippy 0.1.77 (7cf61eb 2024-03-27)

Annotations

Check failure on line 41 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this let-binding has unit value

error: this let-binding has unit value
  --> src/lib.rs:41:21
   |
41 |                     let _ = core::mem::swap(self, &mut replace);
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `core::mem::swap(self, &mut replace);`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
   = note: `-D clippy::let-unit-value` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::let_unit_value)]`

Check failure on line 41 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this let-binding has unit value

error: this let-binding has unit value
  --> src/lib.rs:41:21
   |
41 |                     let _ = core::mem::swap(self, &mut replace);
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `core::mem::swap(self, &mut replace);`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
   = note: `-D clippy::let-unit-value` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::let_unit_value)]`