Warn on missing docs in framed lib.
This commit is contained in:
parent
31b417b5cf
commit
e0cd91f219
1 changed files with 3 additions and 1 deletions
|
@ -82,6 +82,8 @@
|
||||||
//! and `decode_*` variants that require this are only available with
|
//! and `decode_*` variants that require this are only available with
|
||||||
//! the `use_std` Cargo feature.
|
//! the `use_std` Cargo feature.
|
||||||
|
|
||||||
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
#![cfg_attr(not(feature = "use_std"), no_std)]
|
#![cfg_attr(not(feature = "use_std"), no_std)]
|
||||||
|
|
||||||
#![cfg_attr(feature = "use_nightly", feature(const_fn))]
|
#![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")]
|
#[cfg(feature = "use_std")]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct BoxEncoded(Vec<u8>);
|
pub struct BoxEncoded(Vec<u8>);
|
||||||
|
|
Loading…
Reference in a new issue