diff options
author | jahs-tech <jah@jahs.tech> | 2023-02-16 11:05:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 11:05:46 -0500 |
commit | b865dbdc474ee08f09ac675a47cb0e20bd1059ad (patch) | |
tree | d67b01d4d81d3ca368f95365651bc6b423363e54 | |
parent | 36937a72e0f50d95f2402e9c3e4316014765c8cc (diff) |
Fix typo in bitfields documentation (#2412)
"Far each ..." should be "For each ..."
-rw-r--r-- | book/src/using-bitfields.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/using-bitfields.md b/book/src/using-bitfields.md index 41e07ad7..0ee9f032 100644 --- a/book/src/using-bitfields.md +++ b/book/src/using-bitfields.md @@ -5,7 +5,7 @@ As Rust does not support bitfields, Bindgen generates a struct for each with the following characteristics * Immutable getter functions for each bitfield named ```<bitfield>``` * Setter functions for each contiguous block of bitfields named ```set_<bitfield>``` -* Far each contiguous block of bitfields, Bindgen emits an opaque physical field that contains one or more logical bitfields +* For each contiguous block of bitfields, Bindgen emits an opaque physical field that contains one or more logical bitfields * A static constructor ```new_bitfield_{1, 2, ...}``` with a parameter for each bitfield contained within the opaque physical field. ## Bitfield examples |