Improved docs (allman syntax)

This commit is contained in:
2026-07-03 22:21:33 +02:00
parent ddf3efdf6e
commit 581390933d
8 changed files with 57 additions and 38 deletions
+3 -3
View File
@@ -25,11 +25,11 @@ match value {
// Named tuple patterns (newtype)
let MyType(value) = my_var;
// Wildcard / etc
// Wildcard / rest
let _ = get_side_effect();
match x {
1 => ...,
.. => ..., // rest / etc
1 => expr,
.. => expr, // rest / etc
}
// Mutable binding in pattern