Skip to content

seq is homoegeneous not hereogeneous #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _src/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ the following 27 types:
- **newtype_variant**
- For example the `E::N` in `enum E { N(u8) }`.
- **seq**
- A variably sized heterogeneous sequence of values, for example `Vec<T>` or
- A variably sized homogeneous sequence of values, for example `Vec<T>` or
`HashSet<T>`. When serializing, the length may or may not be known before
iterating through all the data. When deserializing, the length is determined
by looking at the serialized data.
Expand All @@ -78,7 +78,7 @@ the following 27 types:
- **tuple_variant**
- For example the `E::T` in `enum E { T(u8, u8) }`.
- **map**
- A variably sized heterogeneous key-value pairing, for example `BTreeMap<K,
- A variably sized homogeneous key-value pairing, for example `BTreeMap<K,
V>`. When serializing, the length may or may not be known before iterating
through all the entries. When deserializing, the length is determined by
looking at the serialized data.
Expand Down