From a503a0dd84644e677f910d67773890dafc142e4c Mon Sep 17 00:00:00 2001 From: Matthieu Le Brazidec Date: Sat, 22 Jun 2019 19:27:55 +0200 Subject: [PATCH] Removed the examples until https://github.com/rust-lang/rust/pull/61872 is fixed. --- Cargo.toml | 2 +- aktoro-raw/src/spawned.rs | 2 +- aktoro-runtime/src/error.rs | 2 +- src/lib.rs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 56abb80..724d1f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,5 +34,5 @@ members = [ "aktoro-context", "aktoro-runtime", - "examples/hello_world", +# "examples/hello_world", # See: https://github.com/rust-lang/rust/pull/61872 ] diff --git a/aktoro-raw/src/spawned.rs b/aktoro-raw/src/spawned.rs index 1e16253..4bd8051 100644 --- a/aktoro-raw/src/spawned.rs +++ b/aktoro-raw/src/spawned.rs @@ -59,7 +59,7 @@ impl Spawned { /// Tries send an action over the actor's /// control channel, returning a future resolving - /// with the result returned by the action + /// with the result returned by the action /// handler. pub fn try_send_action(&mut self, action: D) -> ControllerRes> where diff --git a/aktoro-runtime/src/error.rs b/aktoro-runtime/src/error.rs index 693130d..8406717 100644 --- a/aktoro-runtime/src/error.rs +++ b/aktoro-runtime/src/error.rs @@ -38,7 +38,7 @@ impl Error { } pub(crate) fn add_err(self, err: Error) -> Error { - let mut error; + let error; match (self.kind, err.kind) { (ErrorKind::Multiple(mut errs), ErrorKind::Multiple(mut errs_)) => { errs.append(&mut errs_); diff --git a/src/lib.rs b/src/lib.rs index c8ff30a..d1f7f4e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,10 +17,10 @@ pub mod prelude { pub use aktoro_raw::Runtime as RawRuntime; pub use aktoro_raw::Spawned; - pub use aktoro_raw::Receiver as RawReceiver; - pub use aktoro_raw::Sender as RawSender; pub use aktoro_raw::Controlled as RawControlled; pub use aktoro_raw::Controller as RawController; + pub use aktoro_raw::Receiver as RawReceiver; + pub use aktoro_raw::Sender as RawSender; pub use aktoro_raw::Updated as RawUpdated; pub use aktoro_raw::Updater as RawUpdater;