From afe90d2612f025dafb70c188d32c3662d4c5dd1f Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis <25266387+Leptopoda@users.noreply.github.com> Date: Sat, 17 Feb 2024 02:07:01 +0100 Subject: [PATCH] Fix variable reference in patterns docs (#5548) --- src/content/language/patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/language/patterns.md b/src/content/language/patterns.md index 9ac55f6c7c..725b18562d 100644 --- a/src/content/language/patterns.md +++ b/src/content/language/patterns.md @@ -408,7 +408,7 @@ This case pattern simultaneously validates that: - `json` contains a key `user`. - The key `user` pairs with a list of two values. - The types of the list values are `String` and `int`. -- The new local variables to hold the values are `String` and `int`. +- The new local variables to hold the values are `name` and `age`. [language version]: /guides/language/evolution#language-versioning