mirror of
https://github.com/fafhrd91/actix-net
synced 2025-02-20 07:40:33 +01:00
doc updates
This commit is contained in:
parent
44e4381879
commit
c63880a292
@ -3,8 +3,6 @@
|
|||||||
#![no_std]
|
#![no_std]
|
||||||
#![deny(rust_2018_idioms, nonstandard_style)]
|
#![deny(rust_2018_idioms, nonstandard_style)]
|
||||||
#![warn(missing_docs)]
|
#![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;
|
extern crate alloc;
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
//! Non-thread-safe channels.
|
//! Non-thread-safe channels.
|
||||||
|
|
||||||
|
#![deny(rust_2018_idioms, nonstandard_style)]
|
||||||
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
|
extern crate alloc;
|
||||||
|
|
||||||
pub mod mpsc;
|
pub mod mpsc;
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
//! A non-thread-safe multi-producer, single-consumer, futures-aware, FIFO queue.
|
//! A non-thread-safe multi-producer, single-consumer, futures-aware, FIFO queue.
|
||||||
|
|
||||||
|
use alloc::{collections::VecDeque, rc::Rc};
|
||||||
use core::{
|
use core::{
|
||||||
cell::RefCell,
|
cell::RefCell,
|
||||||
fmt,
|
fmt,
|
||||||
pin::Pin,
|
pin::Pin,
|
||||||
task::{Context, Poll},
|
task::{Context, Poll},
|
||||||
};
|
};
|
||||||
|
use std::error::Error;
|
||||||
use std::{collections::VecDeque, error::Error, rc::Rc};
|
|
||||||
|
|
||||||
use futures_core::stream::Stream;
|
use futures_core::stream::Stream;
|
||||||
use futures_sink::Sink;
|
use futures_sink::Sink;
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
//! See docs for [`LocalWaker`].
|
//! See docs for [`LocalWaker`].
|
||||||
|
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
#![deny(rust_2018_idioms, nonstandard_style)]
|
||||||
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
use core::{cell::Cell, fmt, marker::PhantomData, task::Waker};
|
use core::{cell::Cell, fmt, marker::PhantomData, task::Waker};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user