1
Fork 0

Warn on missing docs in framed lib.

This commit is contained in:
Alex Helfet 2020-11-21 19:25:19 +00:00
parent 31b417b5cf
commit e0cd91f219

View file

@ -82,6 +82,8 @@
//! and `decode_*` variants that require this are only available with
//! the `use_std` Cargo feature.
#![warn(missing_docs)]
#![cfg_attr(not(feature = "use_std"), no_std)]
#![cfg_attr(feature = "use_nightly", feature(const_fn))]
@ -249,7 +251,7 @@ impl Deref for BoxPayload {
}
}
/// Heap-allocated frame data used as a return type.
// Heap-allocated frame data used as a return type.
#[cfg(feature = "use_std")]
#[derive(Debug)]
pub struct BoxEncoded(Vec<u8>);