Skip to content

Commit b865dbd

Browse files
authored
Fix typo in bitfields documentation (#2412)
"Far each ..." should be "For each ..."
1 parent 36937a7 commit b865dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/using-bitfields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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>```
77
* Setter functions for each contiguous block of bitfields named ```set_<bitfield>```
8-
* Far each contiguous block of bitfields, Bindgen emits an opaque physical field that contains one or more logical bitfields
8+
* For 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

1111
## Bitfield examples

0 commit comments

Comments
 (0)