Skip to content

feat: toggle_floating_state and is_floating (#306) (#307)

Sign in for the full log view
GitHub Actions / clippy succeeded Aug 15, 2024 in 0s

clippy

5 warnings

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 1325 in src/pure/stack_set.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary use of `copied`

warning: unnecessary use of `copied`
    --> src/pure/stack_set.rs:1325:23
     |
1325 |         for client in s.clients().copied() {
     |                       ^^^^^^^^^^^^^^^^^^^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
help: use
     |
1325 |         for client in s.clients() {
     |                       ~~~~~~~~~~~
help: remove any references to the binding
     |
1326 -             assert_eq!(to_float.contains(&client), s.is_floating(&client));
1326 +             assert_eq!(to_float.contains(client), s.is_floating(client));
     |

Check warning on line 1325 in src/pure/stack_set.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary use of `copied`

warning: unnecessary use of `copied`
    --> src/pure/stack_set.rs:1325:23
     |
1325 |         for client in s.clients().copied() {
     |                       ^^^^^^^^^^^^^^^^^^^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
help: use
     |
1325 |         for client in s.clients() {
     |                       ~~~~~~~~~~~
help: remove any references to the binding
     |
1326 -             assert_eq!(to_float.contains(&client), s.is_floating(&client));
1326 +             assert_eq!(to_float.contains(client), s.is_floating(client));
     |

Check warning on line 1325 in src/pure/stack_set.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary use of `copied`

warning: unnecessary use of `copied`
    --> src/pure/stack_set.rs:1325:23
     |
1325 |         for client in s.clients().copied() {
     |                       ^^^^^^^^^^^^^^^^^^^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
     = note: `#[warn(clippy::unnecessary_to_owned)]` on by default
help: use
     |
1325 |         for client in s.clients() {
     |                       ~~~~~~~~~~~
help: remove any references to the binding
     |
1326 -             assert_eq!(to_float.contains(&client), s.is_floating(&client));
1326 +             assert_eq!(to_float.contains(client), s.is_floating(client));
     |

Check warning on line 89 in src/extensions/actions/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc quote missing `>` marker

warning: doc quote missing `>` marker
  --> src/extensions/actions/mod.rs:89:5
   |
89 | /// [switch_to_workspace] to select from known workspace names.
   |     ^
   |
   = help: if this not intended to be a quote at all, escape it with `\>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
note: the lint level is defined here
  --> src/lib.rs:51:5
   |
51 |     clippy::style,
   |     ^^^^^^^^^^^^^
   = note: `#[warn(clippy::doc_lazy_continuation)]` implied by `#[warn(clippy::style)]`
help: add markers to start of line
   |
89 | /// > [switch_to_workspace] to select from known workspace names.
   |     +

Check warning on line 89 in src/extensions/actions/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc quote missing `>` marker

warning: doc quote missing `>` marker
  --> src/extensions/actions/mod.rs:89:5
   |
89 | /// [switch_to_workspace] to select from known workspace names.
   |     ^
   |
   = help: if this not intended to be a quote at all, escape it with `\>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
note: the lint level is defined here
  --> src/lib.rs:51:5
   |
51 |     clippy::style,
   |     ^^^^^^^^^^^^^
   = note: `#[warn(clippy::doc_lazy_continuation)]` implied by `#[warn(clippy::style)]`
help: add markers to start of line
   |
89 | /// > [switch_to_workspace] to select from known workspace names.
   |     +