diff options
author | Mario Krehl <mario-krehl@gmx.de> | 2017-12-16 12:06:47 +0100 |
---|---|---|
committer | Mario Krehl <mario-krehl@gmx.de> | 2017-12-16 12:06:47 +0100 |
commit | 83cc44aec65898440373c309284adbd7c2092106 (patch) | |
tree | 5e29037a5839d2e7255bbb63588b8a7f44debc7d | |
parent | 4736031a1b46924ac0aff584c74b4fb957f9ff98 (diff) |
Fix typos
-rw-r--r-- | src/config.rs | 2 | ||||
-rw-r--r-- | 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<LogItem>, all_aliases : Vec<String>, 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::<f64>() - .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 { |