From 69f1a990f03e956c77256bdcbf0a2acf47c576b1 Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Sun, 23 Nov 2025 12:17:07 +0100 Subject: [PATCH] Use unpack syntax to simplify uniqueness example --- docs/type_dict.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/type_dict.md b/docs/type_dict.md index b9c3d0c..4700586 100644 --- a/docs/type_dict.md +++ b/docs/type_dict.md @@ -139,7 +139,7 @@ If you want to get all the _unique_ values, you can convert the result into a set with a comprehension: ```rcl -{for distro in machine_distros.values(): distro} +{ ..machine_distros.values() } // Evaluates to: {"ubuntu:20.04", "ubuntu:22.04", "ubuntu:23.10"} ```