FunctionManager: cleanup Default impl

This commit is contained in:
Simon Gardling 2025-12-05 00:43:36 -05:00
parent 905820384a
commit 24f99f4cb8
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -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
}
}