1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 15:40:36 +02:00

rename method

This commit is contained in:
Nikolay Kim
2019-03-14 20:23:49 -07:00
parent d23dc6f6af
commit b7b76c47e5
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ impl ServiceRuntime {
}
/// Execute future before services initialization.
pub fn spawn<F>(&mut self, fut: F)
pub fn on_start<F>(&mut self, fut: F)
where
F: Future<Item = (), Error = ()> + 'static,
{