aboutsummaryrefslogtreecommitdiff
path: root/ops/src/lib.rs
diff options
context:
space:
mode:
authorTill Höppner2016-03-09 16:59:15 +0100
committerTill Höppner2016-03-09 17:01:04 +0100
commiteca90a051b4daebe12a8421c6c4f57d5b5b9fbbd (patch)
tree4af753d758b1349b105d4b79dc2ac740cff28581 /ops/src/lib.rs
parente15f184edc228b991ee87ca39a6a177e6938d9c6 (diff)
downloadilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.gz
ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.xz
ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.zip
Allow ARM failure
Diffstat (limited to 'ops/src/lib.rs')
-rw-r--r--ops/src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/ops/src/lib.rs b/ops/src/lib.rs
index f148037..d5aa003 100644
--- a/ops/src/lib.rs
+++ b/ops/src/lib.rs
@@ -2,10 +2,11 @@
extern crate log;
extern crate blist;
extern crate bit_set;
+extern crate serde;
extern crate ilc_base;
mod ageset;
-pub mod freq;
+pub mod stats;
/// No-op log parsing
pub mod parse {
@@ -219,7 +220,9 @@ pub mod merge {
// Keep non-empty streams
for (offset, idx) in empty.iter().enumerate() {
- events.remove(offset + idx);
+ // `remove` returns an iterator. It's empty, but Rust doesn't know that,
+ // so suppress the warning like this.
+ let _ = events.remove(offset + idx);
}
empty.clear();
}