Skip to content

Commit b969bfb

Browse files
committed
Fixed typo.
1 parent 7b34d5c commit b969bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/using-bitfields.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
As Rust does not support bitfields, Bindgen generates a struct for each with the following characteristics
66
* Immutable getter functions for each bitfield named ```<bitfield>```
7-
* Setter functions for each contiguous bsock of bitfields named ```set_<bitfield>```
7+
* Setter functions for each contiguous block of bitfields named ```set_<bitfield>```
88
* Far each contiguous block of bitfields, Bindgen emits an opaque physical field that contains one or more logical bitfields
99
* A static constructor ```new_bitfield_{1, 2, ...}``` with a parameter for each bitfield contained within the opaque physical field.
1010

0 commit comments

Comments
 (0)