summaryrefslogtreecommitdiffstats
path: root/src/bin.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-01-08 17:04:44 +0200
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-01-20 15:58:59 +0200
commita365a846b8e8bca8f053e8f7152604e0103a7181 (patch)
tree0f797bdf1915e0e149fda161000912c9c5a21e03 /src/bin.rs
parentb6403f486b0ceefff46781bccca056a38ecd0577 (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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin.rs b/src/bin.rs
index b41f6825..d031c92a 100644
--- a/src/bin.rs
+++ b/src/bin.rs
@@ -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);
}