reduce warnings
This commit is contained in:
parent
5f1e9d6b30
commit
8c93e54939
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ use std::process::{Command, Stdio};
|
||||||
use std::io::stdin;
|
use std::io::stdin;
|
||||||
use std::io::BufRead;
|
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 libimagrt::runtime::Runtime;
|
||||||
use libimagtodo::task::IntoTask;
|
use libimagtodo::task::IntoTask;
|
||||||
|
@ -93,7 +93,7 @@ fn main() {
|
||||||
// per usage und wants one (the second one) back.
|
// per usage und wants one (the second one) back.
|
||||||
let mut counter = 0;
|
let mut counter = 0;
|
||||||
let stdin = stdin();
|
let stdin = stdin();
|
||||||
let mut stdin = stdin.lock();
|
let stdin = stdin.lock();
|
||||||
if let Ok(ttasks) = import_tasks(stdin) {
|
if let Ok(ttasks) = import_tasks(stdin) {
|
||||||
for ttask in ttasks {
|
for ttask in ttasks {
|
||||||
if counter % 2 == 1 {
|
if counter % 2 == 1 {
|
||||||
|
|
Loading…
Reference in a new issue