summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHengqi Chen <chenhengqi@outlook.com>2021-04-27 21:45:46 +0800
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-04-27 20:43:14 +0200
commit425a14617a9b807e51f37610385a24a0485d89fc (patch)
treef56df098edd01eeeb4bdb536733d05b6c06dced2
parent05fe83beb28077f8063a285095c48081d4391093 (diff)
Fix typo
Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
-rw-r--r--book/src/using-bitfields.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/using-bitfields.md b/book/src/using-bitfields.md
index c6d2c7e8..41e07ad7 100644
--- a/book/src/using-bitfields.md
+++ b/book/src/using-bitfields.md
@@ -85,5 +85,5 @@ Note: This requires the Builder's derive_default to be set to true, otherwise th
This will print out
```text
-StructWithBitfields: a:1, b:0, c:2
+StructWithBitfields: a:0, b:0, c:0
```