Make vfs::tree::Kind pointer-sized #2425
ci.yaml
on: pull_request
Build & Test Project
1m 26s
Annotations
2 warnings
|
Build & Test Project:
moss/src/cli/sync.rs#L122
[clippy] reported by reviewdog 🐶
warning: deref which would be done by auto-deref
--> moss/src/cli/sync.rs:122:69
|
122 | itertools::Either::Right(package::Update { old: i, new: *p })
| ^^ help: try: `p`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#explicit_auto_deref
= note: `#[warn(clippy::explicit_auto_deref)]` on by default
Raw Output:
moss/src/cli/sync.rs:122:69:w:warning: deref which would be done by auto-deref
--> moss/src/cli/sync.rs:122:69
|
122 | itertools::Either::Right(package::Update { old: i, new: *p })
| ^^ help: try: `p`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#explicit_auto_deref
= note: `#[warn(clippy::explicit_auto_deref)]` on by default
__END__
|
|
Build & Test Project:
moss/src/package/render.rs#L150
[clippy] reported by reviewdog 🐶
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference
--> moss/src/package/render.rs:150:19
|
150 | fn to_section(self) -> Option<String> {
| ^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#wrong_self_convention
= note: `#[warn(clippy::wrong_self_convention)]` on by default
Raw Output:
moss/src/package/render.rs:150:19:w:warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference
--> moss/src/package/render.rs:150:19
|
150 | fn to_section(self) -> Option<String> {
| ^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#wrong_self_convention
= note: `#[warn(clippy::wrong_self_convention)]` on by default
__END__
|