From 19909d0c392ec358322e2770efe4b02a7334996c Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Fri, 21 Apr 2017 00:41:37 -0600 Subject: [PATCH 1/2] seq is homoegeneous not hereogeneous --- _src/data-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/data-model.md b/_src/data-model.md index ad7270a8..3f044d58 100644 --- a/_src/data-model.md +++ b/_src/data-model.md @@ -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` or + - A variably sized homogeneous sequence of values, for example `Vec` or `HashSet`. 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. From 185ce4287893bc33f56bb6706d4441f67bc5fe48 Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Fri, 21 Apr 2017 00:43:34 -0600 Subject: [PATCH 2/2] `map` is homogenous as well --- _src/data-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/data-model.md b/_src/data-model.md index 3f044d58..7762147a 100644 --- a/_src/data-model.md +++ b/_src/data-model.md @@ -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`. 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.