diff options
author | Alex Crichton <alex@alexcrichton.com> | 2017-12-05 09:02:07 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2017-12-05 09:02:07 -0800 |
commit | 108e1a2c1a66a6f0123704e42624b51e9536476f (patch) | |
tree | 627489b7aa04cd2da9cdfdf53172e235fc7a6827 /tests/limit.rs | |
parent | 46062794aaedf1d2f8385124fa5b7061317a2527 (diff) |
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'
Diffstat (limited to 'tests/limit.rs')
-rw-r--r-- | tests/limit.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/limit.rs b/tests/limit.rs index 452e553f..b1b1591e 100644 --- a/tests/limit.rs +++ b/tests/limit.rs @@ -10,7 +10,7 @@ use futures::Future; use futures::stream::Stream; use tokio_io::io::read_to_end; use tokio::net::TcpListener; -use tokio::reactor::Core; +use tokio::reactor::Reactor; macro_rules! t { ($e:expr) => (match $e { @@ -21,7 +21,7 @@ macro_rules! t { #[test] fn limit() { - let mut l = t!(Core::new()); + let mut l = t!(Reactor::new()); let srv = t!(TcpListener::bind(&t!("127.0.0.1:0".parse()), &l.handle())); let addr = t!(srv.local_addr()); |