We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e20830 commit ea13b6fCopy full SHA for ea13b6f
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: ae225e2b6c8dfe7a24444bd5b11b8b21df7d5f9d
+refs/heads/master: 7806180557d971b1292249f3cad92444c05cd77e
trunk/src/libcore/uint.rs
@@ -103,6 +103,13 @@ pure fn ge(x: uint, y: uint) -> bool { ret x >= y; }
103
/* Predicate: gt */
104
pure fn gt(x: uint, y: uint) -> bool { ret x > y; }
105
106
+/*
107
+Function: hash
108
+
109
+Produce a uint suitable for use in a hash table
110
+*/
111
+fn hash(x: uint) -> uint { ret x; }
112
113
/*
114
Function: range
115
0 commit comments