Skip to content

Commit 12b5f17

Browse files
committed
derive Default for Layout
1 parent 948e756 commit 12b5f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bus.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub struct BusInfo {
1010
pub dir: BusDir,
1111
}
1212

13-
#[derive(Clone, Eq, PartialEq, Hash)]
13+
#[derive(Clone, Default, Eq, PartialEq, Hash)]
1414
pub struct Layout {
1515
pub formats: Vec<Format>,
1616
}

0 commit comments

Comments
 (0)