Skip to content

Commit

Permalink
Fix typo in spec.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonDev1906 authored and VictorKoenders committed Dec 2, 2024
1 parent aa43038 commit 7f65355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ See the documentation of [FixintEncoding](https://docs.rs/bincode/2.0.0-rc/binco

Enums are encoded with their variant first, followed by optionally the variant fields. The variant index is based on the `IntEncoding` during serialization.

Both named and unnamed fields are serialized with their values only, and therefor encode to the same value.
Both named and unnamed fields are serialized with their values only, and therefore encode to the same value.

```rust
#[derive(bincode::Encode)]
Expand Down

0 comments on commit 7f65355

Please sign in to comment.