Finalized pre-commit config, sorted imports.

This commit is contained in:
Xithrius 2021-08-23 17:13:33 -07:00
parent a4aa58f72f
commit f5753b0be0
No known key found for this signature in database
GPG Key ID: BD0FC909FA912B62
3 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,5 @@
repos:
- repo: https://github.com/doublify/pre-commit-rust
rev: master
rev: v1.0
hooks:
- id: fmt
args: [ '--verbose' ]

View File

@ -1,6 +1,5 @@
use chrono::Utc;
#[derive(Debug, Clone)]
pub struct App {
/// Current value of the input box
pub input: String,

View File

@ -1,11 +1,13 @@
use std::io;
use std::sync::{
Arc,
atomic::{AtomicBool, Ordering},
use std::{
io,
sync::mpsc,
sync::{
atomic::{AtomicBool, Ordering},
Arc,
},
thread,
time::Duration,
};
use std::sync::mpsc;
use std::thread;
use std::time::Duration;
use termion::event::Key;
use termion::input::TermRead;