From 83cc44aec65898440373c309284adbd7c2092106 Mon Sep 17 00:00:00 2001 From: Mario Krehl Date: Sat, 16 Dec 2017 12:06:47 +0100 Subject: Fix typos --- src/config.rs | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index ef0e330..9f28158 100644 --- a/src/config.rs +++ b/src/config.rs @@ -135,7 +135,7 @@ impl LogItem { } } -/// Containts more immediately usable data +/// Contains more immediately usable data pub struct Config { items : Vec, all_aliases : Vec, diff --git a/src/main.rs b/src/main.rs index 56cf351..43d9a48 100644 --- a/src/main.rs +++ b/src/main.rs @@ -166,7 +166,7 @@ fn hash_map_iter(h : HashMap<&String, (&LogItem, Vec<(String, String)>)>, d_from // save the timestamp for later let timestamp = capture_groups["ts"] .parse::() - .chain_err(|| "Failed to parse the filestamp")?; + .chain_err(|| "Failed to parse the timestamp")?; // ignore every entry not in the timerange if (timestamp as i64) > d_from && (timestamp as i64) < d_to { -- cgit v1.2.3