From c4f05e033f9b15a0774dc66160e750677dcc7dd4 Mon Sep 17 00:00:00 2001 From: George Hahn Date: Fri, 24 May 2019 10:29:52 -0500 Subject: [PATCH] fixup: fix `new_async` doc comment --- actix-rt/src/system.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actix-rt/src/system.rs b/actix-rt/src/system.rs index 7bead2a3..8d8a873f 100644 --- a/actix-rt/src/system.rs +++ b/actix-rt/src/system.rs @@ -57,9 +57,9 @@ impl System { } #[allow(clippy::new_ret_no_self)] - /// Create new system. + /// Create new system using provided CurrentThread Handle. /// - /// This method panics if it can not create tokio runtime + /// This method panics if it can not spawn system arbiter pub fn new_async>(name: T, executor: Handle) -> AsyncSystemRunner { Self::builder().name(name).build_async(executor) }