Skip to content

cli/search_file: Ensure /usr/ prefix searches still succeed #1996

cli/search_file: Ensure /usr/ prefix searches still succeed

cli/search_file: Ensure /usr/ prefix searches still succeed #1996

Triggered via pull request July 19, 2025 20:52
Status Success
Total duration 3m 14s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: pull_request
Build & Test Project
3m 11s
Build & Test Project
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
Build & Test Project: boulder/src/build.rs#L333
[clippy] reported by reviewdog 🐶 warning: this method chain can be written more clearly with `if .. else ..` --> boulder/src/build.rs:333:19 | 333 | let pgo = is_pgo.then_some("│").unwrap_or_default().dim(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if is_pgo { "│" } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default Raw Output: boulder/src/build.rs:333:19:w:warning: this method chain can be written more clearly with `if .. else ..` --> boulder/src/build.rs:333:19 | 333 | let pgo = is_pgo.then_some("│").unwrap_or_default().dim(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if is_pgo { "│" } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default __END__
Build & Test Project: crates/stone/src/write.rs#L307
[clippy] reported by reviewdog 🐶 warning: this method chain can be written more clearly with `if .. else ..` --> crates/stone/src/write.rs:307:47 | 307 | num_payloads: payloads.len() as u16 + content.is_some().then_some(1).unwrap_or_default(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if content.is_some() { 1 } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default Raw Output: crates/stone/src/write.rs:307:47:w:warning: this method chain can be written more clearly with `if .. else ..` --> crates/stone/src/write.rs:307:47 | 307 | num_payloads: payloads.len() as u16 + content.is_some().then_some(1).unwrap_or_default(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if content.is_some() { 1 } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default __END__