Update doc and changes.md

This commit is contained in:
Bo Yao 2020-02-24 12:50:49 -08:00
parent 4b0808de64
commit 3295aabf67
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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())
}