1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

doc updates

This commit is contained in:
Rob Ede 2021-11-28 00:46:29 +00:00
parent 44e4381879
commit c63880a292
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
4 changed files with 9 additions and 4 deletions

View File

@ -3,8 +3,6 @@
#![no_std]
#![deny(rust_2018_idioms, nonstandard_style)]
#![warn(missing_docs)]
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
extern crate alloc;

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;

View File

@ -3,6 +3,8 @@
//! See docs for [`LocalWaker`].
#![no_std]
#![deny(rust_2018_idioms, nonstandard_style)]
#![warn(missing_docs)]
use core::{cell::Cell, fmt, marker::PhantomData, task::Waker};