diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-08 17:04:44 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-20 15:58:59 +0200 |
commit | a365a846b8e8bca8f053e8f7152604e0103a7181 (patch) | |
tree | 0f797bdf1915e0e149fda161000912c9c5a21e03 /src/bin.rs | |
parent | b6403f486b0ceefff46781bccca056a38ecd0577 (diff) |
Replace StackVec with smallvec::SmallVec
SmallVec has a less buggy and better implementation.
Diffstat (limited to 'src/bin.rs')
-rw-r--r-- | src/bin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ fn run_app() -> Result<()> { 'inner: loop { /* Check if any components have sent reply events to State. */ - let events: Vec<UIEvent> = state.context.replies(); + let events: ui::smallvec::SmallVec<[UIEvent; 8]> = state.context.replies(); for e in events { state.rcv_event(e); } |