Blanket rename Core to Reactor

This commit uses a script to rename `Core` to `Reactor` all at once, notably:

    find . -name '*.rs' | xargs sed -i 's/\bCore\b/Reactor/g'
This commit is contained in:
Alex Crichton
2017-12-05 09:02:07 -08:00
parent 46062794aa
commit 108e1a2c1a
27 changed files with 74 additions and 74 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ use futures::{Future, Stream, Sink};
use futures::future::Executor;
use futures_cpupool::CpuPool;
use tokio::net::{UdpSocket, UdpCodec};
use tokio::reactor::Core;
use tokio::reactor::Reactor;
pub struct LineCodec;
@@ -39,7 +39,7 @@ impl UdpCodec for LineCodec {
fn main() {
drop(env_logger::init());
let mut core = Core::new().unwrap();
let mut core = Reactor::new().unwrap();
let handle = core.handle();
let pool = CpuPool::new(1);