chore: Fix clippy for upcoming 1.79 Rust release (#12727)

1.79 is due for release in a week.
Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-06-06 12:46:53 +02:00 committed by GitHub
parent a0c0f1ebcd
commit 377e24b798
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 20 additions and 21 deletions

View file

@ -38,6 +38,7 @@ pub struct GitSettings {
impl GitSettings {
pub fn inline_blame_enabled(&self) -> bool {
#[allow(unknown_lints, clippy::manual_unwrap_or_default)]
match self.inline_blame {
Some(InlineBlameSettings { enabled, .. }) => enabled,
_ => false,