(MINOR) XmpMeta can now optionally format itself using Rust-style formatting #668
GitHub Actions / clippy
failed
Feb 10, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check failure on line 2113 in src/xmp_meta.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/xmp_meta.rs:2113:21
|
2113 | &prefix.trim_end_matches(':'),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `prefix.trim_end_matches(':')`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> src/lib.rs:18:9
|
18 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`
Check failure on line 2113 in src/xmp_meta.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/xmp_meta.rs:2113:21
|
2113 | &prefix.trim_end_matches(':'),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `prefix.trim_end_matches(':')`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> src/lib.rs:18:9
|
18 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`
Loading