add the doc attribute.

This commit is contained in:
Lokathor
2021-09-24 18:51:21 -06:00
parent 63d82bd6a1
commit 9cf334daf0
+1
View File
@@ -173,6 +173,7 @@ impl<A: Array, I: SliceIndex<[A::Item]>> IndexMut<I> for TinyVec<A> {
}
#[cfg(feature = "std")]
#[cfg_attr(docs_rs, doc(cfg(feature = "std")))]
impl<A: Array<Item = u8>> std::io::Write for TinyVec<A> {
#[inline(always)]
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {