FunctionManager: cleanup Default impl
This commit is contained in:
parent
905820384a
commit
24f99f4cb8
@ -17,12 +17,11 @@ pub struct FunctionManager {
|
||||
|
||||
impl Default for FunctionManager {
|
||||
fn default() -> Self {
|
||||
let mut vec: Functions = Vec::with_capacity(COLORS.len());
|
||||
vec.push((
|
||||
Id::new("Function Manager"),
|
||||
FunctionEntry::default(),
|
||||
));
|
||||
Self { functions: vec }
|
||||
let mut d = Self {
|
||||
..Default::default()
|
||||
};
|
||||
d.push_empty();
|
||||
d
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user