From 9cf334daf06081bf4e940ea202bf041b8a6769c3 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Fri, 24 Sep 2021 18:51:21 -0600 Subject: [PATCH] add the doc attribute. --- src/tinyvec.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tinyvec.rs b/src/tinyvec.rs index 7623fa8..11bf9df 100644 --- a/src/tinyvec.rs +++ b/src/tinyvec.rs @@ -173,6 +173,7 @@ impl> IndexMut for TinyVec { } #[cfg(feature = "std")] +#[cfg_attr(docs_rs, doc(cfg(feature = "std")))] impl> std::io::Write for TinyVec { #[inline(always)] fn write(&mut self, buf: &[u8]) -> std::io::Result {