Skip to content

Use AStr for file_name and parent fields of vfs::tree::File #2408

Use AStr for file_name and parent fields of vfs::tree::File

Use AStr for file_name and parent fields of vfs::tree::File #2408

Triggered via push December 31, 2025 19:15
Status Success
Total duration 1m 16s
Artifacts

ci.yaml

on: push
Build & Test Project
1m 13s
Build & Test Project
Fit to window
Zoom out
Zoom in

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__