From cebbe7b7c5322aae26d4f9eb31cd4951fd645ead Mon Sep 17 00:00:00 2001 From: Cayman Date: Sun, 6 Jan 2019 13:05:27 -0600 Subject: [PATCH] Fix minor variable name mismatch --- specs/simple-serialize.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/simple-serialize.md b/specs/simple-serialize.md index 63a4d4e31..ceacb6469 100644 --- a/specs/simple-serialize.md +++ b/specs/simple-serialize.md @@ -384,7 +384,7 @@ values = {} for field_name in get_field_names(typ): field_name_type = get_type_for_field_name(typ, field_name) values[field_name], item_index = deserialize(data, item_index, field_name_type) -assert item_index == start + LENGTH_BYTES + length +assert item_index == new_index return typ(**values), item_index ```