mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Use Default::default() in the parameter examples
Makes it a bit easier to change between types if needed.
This commit is contained in:
@@ -79,7 +79,7 @@ impl Default for GainParams {
|
||||
the_field_name_can_change: BoolParam {
|
||||
value: false,
|
||||
name: "Important Value",
|
||||
..BoolParam::default()
|
||||
..Default::default()
|
||||
},
|
||||
random_data: RwLock::new(Vec::new()),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user