diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md index 7c7ad63d..a7792455 100644 --- a/actix-rt/CHANGES.md +++ b/actix-rt/CHANGES.md @@ -1,5 +1,9 @@ # Changes +## [TBD] - [TBD] + +- Expose `System::is_set` to check if current system is running + ## [1.0.0] - 2019-12-11 * Update dependencies diff --git a/actix-rt/src/system.rs b/actix-rt/src/system.rs index f77bcd4d..1e5beec7 100644 --- a/actix-rt/src/system.rs +++ b/actix-rt/src/system.rs @@ -79,7 +79,7 @@ impl System { }) } - /// Check current system is running. + /// Check if current system is running. pub fn is_set() -> bool { CURRENT.with(|cell| cell.borrow().is_some()) }