Skip to content

Fix a clippy warning: - #268

Merged
zeenix merged 1 commit into
masterfrom
fix-clippy
Sep 18, 2026
Merged

zeenix merged 1 commit into
masterfrom
fix-clippy

Conversation

@zeenix

@zeenix zeenix commented Sep 18, 2026

Copy link
Copy Markdown
Member
error: redundant reference in `write!` argument
    --> src/iocp/mod.rs:1394:31
     |
1394 |             self.description, &self.system
     |                               ^^^^^^^^^^^^ help: remove the redundant `&`: `self.system`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting
     = note: `-D clippy::useless-borrows-in-formatting` implied by `-D warnings`
     = help: to override `-D warnings` add `#[allow(clippy::useless_borrows_in_formatting)]`

```
error: redundant reference in `write!` argument
    --> src/iocp/mod.rs:1394:31
     |
1394 |             self.description, &self.system
     |                               ^^^^^^^^^^^^ help: remove the redundant `&`: `self.system`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting
     = note: `-D clippy::useless-borrows-in-formatting` implied by `-D warnings`
     = help: to override `-D warnings` add `#[allow(clippy::useless_borrows_in_formatting)]`
```
@zeenix
zeenix requested a review from taiki-e September 18, 2026 12:15
@zeenix

zeenix commented Sep 18, 2026

Copy link
Copy Markdown
Member Author

Since this is a very straight-forward one, I'll merge it.

@zeenix
zeenix merged commit c646d8e into master Sep 18, 2026
20 of 22 checks passed
@zeenix
zeenix deleted the fix-clippy branch September 18, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant