1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 06:02:07 +01:00

Merge pull request #7 from najamelan/fix/compiler_warnings

Fix compiler warnings.
This commit is contained in:
Nikolay Kim 2019-03-14 07:24:37 -07:00 committed by GitHub
commit d82bc7c52b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ impl Error for RunError {
self.inner.description()
}
fn cause(&self) -> Option<&Error> {
self.inner.cause()
self.inner.source()
}
}

View File

@ -1,13 +1,13 @@
use std::cell::RefCell;
use std::io;
use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
use std::sync::atomic::{AtomicUsize, Ordering};
use futures::sync::mpsc::UnboundedSender;
use crate::arbiter::{Arbiter, SystemCommand};
use crate::builder::{Builder, SystemRunner};
static SYSTEM_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
static SYSTEM_COUNT: AtomicUsize = AtomicUsize::new(0);
/// System is a runtime manager.
#[derive(Clone, Debug)]