Fixed doc comment for Payload, Encoded types.
This commit is contained in:
parent
d9bd0ddff7
commit
93ac105fbe
1 changed files with 2 additions and 2 deletions
|
@ -47,11 +47,11 @@
|
||||||
//!
|
//!
|
||||||
//! ```rust,ignore
|
//! ```rust,ignore
|
||||||
//! /// Arbitrary user data.
|
//! /// Arbitrary user data.
|
||||||
//! pub struct Payload(pub [u8]);
|
//! pub type Payload = [u8];
|
||||||
//!
|
//!
|
||||||
//! /// Data that is encoded as a frame. It is ready to send, or may have
|
//! /// Data that is encoded as a frame. It is ready to send, or may have
|
||||||
//! /// just been received.
|
//! /// just been received.
|
||||||
//! pub struct Encoded(pub [u8]);
|
//! pub type Encoded = [u8];
|
||||||
//!
|
//!
|
||||||
//! /// Heap-allocated user data used as a return type.
|
//! /// Heap-allocated user data used as a return type.
|
||||||
//! #[cfg(feature = "use_std")]
|
//! #[cfg(feature = "use_std")]
|
||||||
|
|
Loading…
Reference in a new issue