mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-26 18:43:37 +03:00
stricter warning leves
This commit is contained in:
parent
8d42a88eab
commit
0dce256f80
@ -1,7 +1,8 @@
|
||||
//! asyncgit
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(missing_docs)]
|
||||
#![forbid(missing_docs)]
|
||||
|
||||
mod diff;
|
||||
mod status;
|
||||
pub mod sync;
|
||||
|
@ -1,7 +1,7 @@
|
||||
//! simple macro to insert a scope based runtime measure that logs the result
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(missing_docs)]
|
||||
#![forbid(missing_docs)]
|
||||
|
||||
use log::trace;
|
||||
use std::time::Instant;
|
||||
|
@ -19,10 +19,7 @@ static MIN_POLL_DURATION: Duration = Duration::from_millis(5);
|
||||
static MAX_BATCHING_DURATION: Duration = Duration::from_millis(25);
|
||||
static TICK_DURATION: Duration = Duration::from_secs(5);
|
||||
|
||||
/// we run 2 threads feeding us with update events.
|
||||
///
|
||||
/// Thread 1:
|
||||
/// We will
|
||||
pub fn start_polling_thread() -> Receiver<Vec<QueueEvent>> {
|
||||
let (tx, rx) = unbounded();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user