From 8c93e549399b264668c856834a63202c1a44c9d0 Mon Sep 17 00:00:00 2001 From: mario Date: Thu, 30 Jun 2016 19:02:12 +0200 Subject: [PATCH] reduce warnings --- imag-todo/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imag-todo/src/main.rs b/imag-todo/src/main.rs index 4dedfb1d..9019dcde 100644 --- a/imag-todo/src/main.rs +++ b/imag-todo/src/main.rs @@ -18,7 +18,7 @@ use std::process::{Command, Stdio}; use std::io::stdin; use std::io::BufRead; -use task_hookrs::import::{import, import_task, import_tasks}; +use task_hookrs::import::{import_task, import_tasks}; use libimagrt::runtime::Runtime; use libimagtodo::task::IntoTask; @@ -93,7 +93,7 @@ fn main() { // per usage und wants one (the second one) back. let mut counter = 0; let stdin = stdin(); - let mut stdin = stdin.lock(); + let stdin = stdin.lock(); if let Ok(ttasks) = import_tasks(stdin) { for ttask in ttasks { if counter % 2 == 1 {