Skip to content

Bump openssl from 0.10.60 to 0.10.66

b0fe43c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Bump openssl from 0.10.60 to 0.10.66 #194

Bump openssl from 0.10.60 to 0.10.66
b0fe43c
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Apr 18, 2025 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.86.0 (05f9846f8 2025-03-31)
  • cargo 1.86.0 (adf9b6ad1 2025-02-28)
  • clippy 0.1.86 (05f9846f89 2025-03-31)

Annotations

Check failure on line 68 in src/commands/serde_utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `map_or` can be simplified

error: this `map_or` can be simplified
  --> src/commands/serde_utils.rs:68:5
   |
68 |     opt.as_ref().map_or(true, |s| s.is_empty())
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
   = note: `-D clippy::unnecessary-map-or` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::unnecessary_map_or)]`
help: use is_none_or instead
   |
68 -     opt.as_ref().map_or(true, |s| s.is_empty())
68 +     opt.as_ref().is_none_or(|s| s.is_empty())
   |