mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
ah, that's how you init an Option<String> array...
This commit is contained in:
parent
b77b38552d
commit
d1eff9e052
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ impl InputTracker {
|
|||
insertion: 0,
|
||||
last_height: 0,
|
||||
was_grown: false,
|
||||
pred_options: [None, None, None, None], // this has to be manually inferred because String doesn't implement "copy" and can't be None-init automatically
|
||||
pred_options: Default::default(),
|
||||
}
|
||||
}
|
||||
pub fn set_gam_token(&mut self, token: [u32; 4]) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue