@@ -29,7 +29,7 @@ type AnyMap = HashMap<TypeId, Box<Any>, BuildHasherDefault<FnvHasher>>;
29
29
/// `ArbiterService` which is unique per arbiter or `SystemService` which is
30
30
/// unique per system.
31
31
///
32
- /// If arbiter service is used outside of runnig arbiter, it panics.
32
+ /// If arbiter service is used outside of running arbiter, it panics.
33
33
///
34
34
/// # Example
35
35
///
@@ -96,7 +96,7 @@ pub struct Registry {
96
96
/// Trait defines arbiter's service.
97
97
#[ allow( unused_variables) ]
98
98
pub trait ArbiterService : Actor < Context = Context < Self > > + Supervised + Default {
99
- /// Construct and srtart arbiter service
99
+ /// Construct and start arbiter service
100
100
fn start_service ( ) -> Addr < Self > {
101
101
Supervisor :: start ( |ctx| {
102
102
let mut act = Self :: default ( ) ;
@@ -222,7 +222,7 @@ type InnerRegistry = Arc<ReentrantMutex<RefCell<AnyMapSend>>>;
222
222
/// Trait defines system's service.
223
223
#[ allow( unused_variables) ]
224
224
pub trait SystemService : Actor < Context = Context < Self > > + Supervised + Default {
225
- /// Construct and srtart system service
225
+ /// Construct and start system service
226
226
fn start_service ( sys : & Addr < Arbiter > ) -> Addr < Self > {
227
227
Supervisor :: start_in_arbiter ( sys, |ctx| {
228
228
let mut act = Self :: default ( ) ;
0 commit comments