Skip to content

Commit a0473b3

Browse files
dgageotslp
authored andcommitted
Make linter happy
Signed-off-by: David Gageot <[email protected]>
1 parent 2254d48 commit a0473b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/devices/src/legacy/gic.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ pub struct VcpuList {
3131
vtimer_irq: u32,
3232
}
3333

34+
impl Default for VcpuList {
35+
fn default() -> Self {
36+
Self::new()
37+
}
38+
}
39+
3440
impl VcpuList {
3541
pub fn new() -> Self {
3642
let mut vcpus = Vec::with_capacity(MAX_CPUS as usize);

0 commit comments

Comments
 (0)