mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 16:44:06 +02:00
borrow data
This commit is contained in:
parent
a276e5a457
commit
0c8d2ebe18
9 changed files with 195 additions and 167 deletions
10
bitbuffer_derive/tests/expand.rs
Normal file
10
bitbuffer_derive/tests/expand.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(unreachable_patterns)]
|
||||
|
||||
use bitbuffer_derive::BitRead;
|
||||
|
||||
#[derive(BitRead)]
|
||||
struct TestStruct {
|
||||
foo: u8,
|
||||
str: String,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue