fix: Replace missing [no_std] marker #21
GitHub Actions / clippy
succeeded
Jul 14, 2023 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0-nightly (7bd81ee19 2023-07-13)
- cargo 1.73.0-nightly (694a57956 2023-07-11)
- clippy 0.1.72 (7bd81ee 2023-07-13)
Annotations
Check warning on line 449 in src/lib.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/lib.rs:449:45
|
449 | ... self.contents = &self.contents[value_len..].trim_start();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.contents[value_len..].trim_start()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default