1
Fork 0

unequal → not equal

This commit is contained in:
gimbles 2023-03-15 23:55:48 +05:30
parent e4b9f86054
commit e5a5b90afc
13 changed files with 21 additions and 21 deletions

View file

@ -23,6 +23,6 @@ Or maybe did you mean to unify? Consider using a guard:
# let (A, B, C) = (1, 2, 3);
match (A, B, C) {
(x, x2, see) if x == x2 => { /* A and B are equal, do one thing */ }
(y, z, see) => { /* A and B unequal; do another thing */ }
(y, z, see) => { /* A and B not equal; do another thing */ }
}
```