summaryrefslogtreecommitdiff
path: root/libstd/htab.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-01-10 00:23:57 -0500
committerOri Bernstein <ori@eigenstate.org>2014-01-10 00:23:57 -0500
commite1d944bcfc4518724fb631940b99439947855f10 (patch)
treeb9a1252632a5147da5d151d1f875660549b0f67d /libstd/htab.myr
parentac713e58b7a309587fbbe4571c31f8f5683e2f67 (diff)
downloadmc-e1d944bcfc4518724fb631940b99439947855f10.tar.gz
Fix slinsert()
We had an off by one error.
Diffstat (limited to 'libstd/htab.myr')
-rw-r--r--libstd/htab.myr5
1 files changed, 3 insertions, 2 deletions
diff --git a/libstd/htab.myr b/libstd/htab.myr
index f73edee..f4217f7 100644
--- a/libstd/htab.myr
+++ b/libstd/htab.myr
@@ -1,8 +1,9 @@
use "alloc.use"
-use "option.use"
-use "types.use"
+use "die.use"
use "extremum.use"
use "fmt.use"
+use "option.use"
+use "types.use"
pkg std =
type htab(@k, @v) = struct