summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Baxter <ambaxter@users.noreply.github.com>2018-01-17 14:52:20 -0500
committerAdam Baxter <ambaxter@users.noreply.github.com>2018-01-17 14:52:20 -0500
commitb969bfb0c2bc00429022d9ce89a566631a5880f1 (patch)
tree9ab99a0a94489fa2e998d44696d6a4faded2a24e
parent7b34d5ccc311c06f473daafdefcdffb9b03b8565 (diff)
Fixed typo.
-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 2b6f3519..c6d2c7e8 100644
--- a/book/src/using-bitfields.md
+++ b/book/src/using-bitfields.md
@@ -4,7 +4,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 bsock of bitfields named ```set_<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
* A static constructor ```new_bitfield_{1, 2, ...}``` with a parameter for each bitfield contained within the opaque physical field.