From 92466ceeda006494c1ee78c5ab2a120e3554095b Mon Sep 17 00:00:00 2001 From: Karl Ostmo Date: Fri, 21 Jul 2023 16:11:31 -0700 Subject: [PATCH] mirror dict note about insertion order for keyset See https://github.com/hhvm/user-documentation/pull/1347#issuecomment-1624035694 --- .../hack/08-arrays-and-collections/05-vec-keyset-and-dict.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hphp/hack/manual/hack/08-arrays-and-collections/05-vec-keyset-and-dict.md b/hphp/hack/manual/hack/08-arrays-and-collections/05-vec-keyset-and-dict.md index babb37cbe50e2..44d9c054575a3 100644 --- a/hphp/hack/manual/hack/08-arrays-and-collections/05-vec-keyset-and-dict.md +++ b/hphp/hack/manual/hack/08-arrays-and-collections/05-vec-keyset-and-dict.md @@ -79,7 +79,8 @@ $items is vec<_>; // true A `keyset` is an ordered data structure without duplicates. It is created with the `keyset[]` syntax. -A `keyset` can only contain `string` or `int` values. +A `keyset` can only contain `string` or `int` values. `keyset`s are +ordered according to the insertion order. ```Hack