mirror of https://github.com/fafhrd91/actix-net
fix todo
This commit is contained in:
parent
bb708cdfea
commit
e6a2043659
|
@ -66,8 +66,7 @@ impl Default for Arbiter {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Arbiter {
|
impl Arbiter {
|
||||||
/// TODO: make pub(crate) again
|
pub(crate) fn new_system(local: &LocalSet) -> Self {
|
||||||
pub fn new_system(local: &LocalSet) -> Self {
|
|
||||||
let (tx, rx) = unbounded_channel();
|
let (tx, rx) = unbounded_channel();
|
||||||
|
|
||||||
let arb = Arbiter::with_sender(tx);
|
let arb = Arbiter::with_sender(tx);
|
||||||
|
|
Loading…
Reference in New Issue