mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-20 06:43:41 -04:00
add the doc attribute.
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user