From cc7b8ca07a7f4bca1976f173d6ec3066a61ff85f Mon Sep 17 00:00:00 2001 From: Alex Helfet Date: Fri, 29 Dec 2017 23:50:55 +0000 Subject: [PATCH] Docs. --- framed/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framed/src/lib.rs b/framed/src/lib.rs index 526bf7f..6b04ad3 100644 --- a/framed/src/lib.rs +++ b/framed/src/lib.rs @@ -15,6 +15,9 @@ //! transport starts operating without losses again the decoder should //! return new uncorrupted frames. //! +//! See the `bytes` or `typed` modules to send and receive raw slices +//! of bytes or serialized structs respectively. +//! //! ## Encoding //! //! Currently the encoding is: @@ -73,9 +76,6 @@ //! containing a heap-allocated value instead. Consequently `encode_*` //! and `decode_*` variants that require this are only available with //! the `use_std` Cargo feature. -//! -//! See the `bytes` or `typed` modules to send and receive raw slices -//! of bytes or serialized structs respectively. #![deny(warnings)] #![cfg_attr(not(feature = "use_std"), no_std)]