Could you please post your actual code instead of a screenshot? See PSA: how to quote code with backticks for some helpful tips on formatting code on Discourse. Screenshots make it harder to help you because there’s no way to copy your code to test it out locally.
rdeits
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Set inconsistencies with structs | 4 | 521 | May 6, 2021 | |
| In Operator not working as expected for struct | 5 | 131 | August 6, 2024 | |
| Elements in my `Set` are not unique | 2 | 155 | October 7, 2024 | |
| Set with type with custom equality | 3 | 177 | June 8, 2024 | |
| How to define `:(==)` on user-defined types for `Set` operations | 2 | 139 | March 3, 2025 |