comparison rust/hg-core/src/revlog/index.rs @ 49926:0780371d6b1e

rust-clippy: tell `clippy` we don't need to declare a default here This is a struct only useful for tests.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 09 Jan 2023 18:54:57 +0100
parents c7fb9b74e753
children e98fd81bb151
comparison
equal deleted inserted replaced
49925:49131579db62 49926:0780371d6b1e
324 node: Node, 324 node: Node,
325 } 325 }
326 326
327 #[cfg(test)] 327 #[cfg(test)]
328 impl IndexEntryBuilder { 328 impl IndexEntryBuilder {
329 #[allow(clippy::new_without_default)]
329 pub fn new() -> Self { 330 pub fn new() -> Self {
330 Self { 331 Self {
331 is_first: false, 332 is_first: false,
332 is_inline: false, 333 is_inline: false,
333 is_general_delta: true, 334 is_general_delta: true,