Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ pub use read::{
BitRead, BitRead2, BitReader, ByteRead, ByteReader, FromBitStream, FromBitStreamUsing,
FromBitStreamWith, FromByteStream, FromByteStreamUsing, FromByteStreamWith,
};
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
#[cfg(feature = "alloc")]
pub use write::BitRecorder;
pub use write::{
Expand Down
3 changes: 0 additions & 3 deletions src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ pub trait BitRead {
/// assert_eq!(r.read::<8, u8>().unwrap(), 0x04);
/// ```
#[cfg(feature = "alloc")]
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
fn read_to_vec(&mut self, bytes: usize) -> io::Result<Vec<u8>> {
read_to_vec(|buf| self.read_bytes(buf), bytes)
}
Expand Down Expand Up @@ -1354,7 +1353,6 @@ pub trait BitRead2 {
///
/// Passes along any I/O error from the underlying stream.
#[cfg(feature = "alloc")]
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
fn read_to_vec(&mut self, bytes: usize) -> io::Result<Vec<u8>> {
read_to_vec(|buf| self.read_bytes(buf), bytes)
}
Expand Down Expand Up @@ -1967,7 +1965,6 @@ pub trait ByteRead {
///
/// Passes along any I/O error from the underlying stream.
#[cfg(feature = "alloc")]
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
fn read_to_vec(&mut self, bytes: usize) -> io::Result<Vec<u8>> {
read_to_vec(|buf| self.read_bytes(buf), bytes)
}
Expand Down
1 change: 0 additions & 1 deletion src/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,6 @@ mod bit_recorder {
/// recorder.playback(&mut writer);
/// assert_eq!(writer.into_writer(), [0b10110111]);
/// ```
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
pub struct BitRecorder<N, E: Endianness> {
writer: BitWriter<Vec<u8>, E>,
phantom: PhantomData<N>,
Expand Down
Loading