summaryrefslogtreecommitdiff
path: root/libstd/sort.myr
diff options
context:
space:
mode:
Diffstat (limited to 'libstd/sort.myr')
-rw-r--r--libstd/sort.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstd/sort.myr b/libstd/sort.myr
index 37cffec..dbf48d3 100644
--- a/libstd/sort.myr
+++ b/libstd/sort.myr
@@ -40,10 +40,12 @@ generic siftdown = {sl, start, cmp
s = r
match cmp(sl[s], sl[c])
| `Before: s = c
+ | _: /* nothing */
;;
if c + 1 < sl.len
match cmp(sl[s], sl[c + 1])
| `Before: s = c + 1
+ | _: /* nothing */
;;
;;
if s != r