Skip to content

Commit 7e10ce9

Browse files
author
Sarthak Choudhary
authored
fix typo in bitfields page (#769)
1 parent c49ebfe commit 7e10ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/develop/data-types/bitfields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Bitfields support atomic read, write and increment operations, making them a goo
3131

3232
## Example
3333

34-
Suppose you want to maintain two metrics for various bicycles: the current price and the number of owners over time. You can represent these counters with a 32-bit wide bitfield per for each bike.
34+
Suppose you want to maintain two metrics for various bicycles: the current price and the number of owners over time. You can represent these counters with a 32-bit wide bitfield for each bike.
3535

3636
* Bike 1 initially costs 1,000 (counter in offset 0) and has never had an owner. After being sold, it's now considered used and the price instantly drops to reflect its new condition, and it now has an owner (offset 1). After quite some time, the bike becomes a classic. The original owner sells it for a profit, so the price goes up and the number of owners does as well.Finally, you can look at the bike's current price and number of owners.
3737

0 commit comments

Comments
 (0)