From e0cd91f219d5ad8d5fa31f947b82e814d897d09a Mon Sep 17 00:00:00 2001 From: Alex Helfet Date: Sat, 21 Nov 2020 19:25:19 +0000 Subject: [PATCH] Warn on missing docs in framed lib. --- framed/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framed/src/lib.rs b/framed/src/lib.rs index 65d500c..eb2955c 100644 --- a/framed/src/lib.rs +++ b/framed/src/lib.rs @@ -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);