# HG changeset patch # User Raphaël Gomès # Date 1673286897 -3600 # Node ID 0780371d6b1e37c2c00b3287cb0d1f42672ae13e # Parent 49131579db62babbf0a1cc6eb485cc360d8fcc82 rust-clippy: tell `clippy` we don't need to declare a default here This is a struct only useful for tests. diff -r 49131579db62 -r 0780371d6b1e rust/hg-core/src/revlog/index.rs --- a/rust/hg-core/src/revlog/index.rs Mon Jan 09 18:50:29 2023 +0100 +++ b/rust/hg-core/src/revlog/index.rs Mon Jan 09 18:54:57 2023 +0100 @@ -326,6 +326,7 @@ #[cfg(test)] impl IndexEntryBuilder { + #[allow(clippy::new_without_default)] pub fn new() -> Self { Self { is_first: false,