1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 17:27:42 +02:00

doc updates

This commit is contained in:
Rob Ede
2021-11-28 00:46:29 +00:00
parent 44e4381879
commit c63880a292
4 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
//! Non-thread-safe channels.
#![deny(rust_2018_idioms, nonstandard_style)]
#![warn(missing_docs)]
extern crate alloc;
pub mod mpsc;

View File

@ -1,13 +1,13 @@
//! A non-thread-safe multi-producer, single-consumer, futures-aware, FIFO queue.
use alloc::{collections::VecDeque, rc::Rc};
use core::{
cell::RefCell,
fmt,
pin::Pin,
task::{Context, Poll},
};
use std::{collections::VecDeque, error::Error, rc::Rc};
use std::error::Error;
use futures_core::stream::Stream;
use futures_sink::Sink;