unequal → not equal
This commit is contained in:
parent
e4b9f86054
commit
e5a5b90afc
13 changed files with 21 additions and 21 deletions
|
@ -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 */ }
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue