Skip to content

Commit

Permalink
Fix build with rustc 1.67.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chifflier committed Jan 24, 2025
1 parent df576d1 commit 3bc1cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lint/rfc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ certificate_lint!(
);

pub fn rfc_lints() -> LintRegistry {
let v = vec![
let lints = &[
check_version,
check_serial_empty,
check_serial_msb,
Expand All @@ -120,7 +120,7 @@ pub fn rfc_lints() -> LintRegistry {
extensions::cert_extensions_unsuppported,
extensions::cert_extensions_parse_error,
];
LintRegistry::new(v)
LintRegistry::new(lints.to_vec())
}

#[cfg(test)]
Expand Down

0 comments on commit 3bc1cbc

Please sign in to comment.