1
0
Fork 0
mirror of https://codeberg.org/icewind/bitbuffer.git synced 2026-06-03 16:44:06 +02:00

rename Read to BitRead to avoid confusion with Read trait from std

This commit is contained in:
Robin Appelman 2019-02-28 16:01:34 +01:00
commit af83f5e3b3
6 changed files with 37 additions and 35 deletions

View file

@ -1,7 +1,7 @@
use bitstream_reader::{BitBuffer, BitStream, LittleEndian};
use bitstream_reader_derive::Read;
use bitstream_reader_derive::BitRead;
#[derive(Read, PartialEq, Debug)]
#[derive(BitRead, PartialEq, Debug)]
struct TestStruct {
foo: u8,
str: String,