From 7ad53613e6515f44d279f38e3739ab540d0ea9a6 Mon Sep 17 00:00:00 2001 From: LuckyTurtleDev <44570204+LuckyTurtleDev@users.noreply.github.com> Date: Sat, 14 Jan 2023 16:09:21 +0100 Subject: [PATCH] add more examples to doc --- doc/macros/bitarr_value.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/macros/bitarr_value.md b/doc/macros/bitarr_value.md index ba13edc1..b2659ecb 100644 --- a/doc/macros/bitarr_value.md +++ b/doc/macros/bitarr_value.md @@ -54,6 +54,7 @@ assert_eq!(b.len(), mem::size_of::() * 8); let c = bitarr![u16, Lsb0; 0, 1, 0, 0, 1]; let d = bitarr![Cell, Msb0; 1; 10]; const E: BitArray<[u32; 1], LocalBits> = bitarr![u32, LocalBits; 1; 15]; +const T: BitArray<[usize; 1], LocalBits> = bitarr![const 0,0,1,0,1,0]; let f = bitarr![RadiumU32, Msb0; 1; 20]; ```