mirror of https://github.com/fafhrd91/actix-net
Update system.rs
This commit is contained in:
parent
a6a7284de9
commit
e985a9af85
|
@ -215,15 +215,10 @@ impl SystemRunner {
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// use actix_rt::SystemRunner;
|
/// let system_runner = actix_rt::System::new();
|
||||||
/// use tokio::task;
|
/// let actix_runtime = system_runner.runtime();
|
||||||
///
|
///
|
||||||
/// fn main() {
|
/// // Use the runtime to spawn an async task or perform other operations
|
||||||
/// let system_runner = actix_rt::System::new();
|
|
||||||
/// let actix_runtime = system_runner.runtime();
|
|
||||||
///
|
|
||||||
/// // Use the runtime to spawn an async task or perform other operations
|
|
||||||
/// }
|
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// Read more in the documentation for [`actix_rt::Runtime`]
|
/// Read more in the documentation for [`actix_rt::Runtime`]
|
||||||
|
|
Loading…
Reference in New Issue