fix build for windows

This commit is contained in:
fakeshadow 2020-12-02 13:45:16 +08:00
parent 582660910b
commit fd4dcc22d7
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ pub(crate) enum Signal {
pub(crate) struct Signals {
srv: Server,
#[cfg(not(unix))]
stream: Pin<Box<dyn Future<Output = io::Result<()>>>>,
stream: Pin<Box<dyn Future<Output = std::io::Result<()>>>>,
#[cfg(unix)]
streams: Vec<(Signal, actix_rt::signal::unix::Signal)>,
}