Skip to content

Commit abd5476

Browse files
committed
Changed edition in Cargo.toml
1 parent c04b635 commit abd5476

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

concurrency/src/gen_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! See examples/name_server for a usage example.
33
use futures::future::FutureExt as _;
44
use spawned_rt::{self as rt, JoinHandle, mpsc, oneshot};
5-
use std::{fmt::Debug, panic::AssertUnwindSafe};
5+
use std::{fmt::Debug, future::Future, panic::AssertUnwindSafe};
66

77
use crate::error::GenServerError;
88

concurrency/src/process.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//! Process trait and struct to create a process abstraction similar to Erlang processes.
22
//! See examples/ping_pong for a usage example.
33
4+
use std::future::Future;
5+
46
use spawned_rt::{self as rt, JoinHandle, mpsc};
57

68
#[derive(Debug)]

rt/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
1010
mod tokio;
1111

12+
use std::future::Future;
1213
use std::str::FromStr;
1314

1415
use tracing_subscriber::EnvFilter;

0 commit comments

Comments
 (0)