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 3ced349 commit 2930ee6Copy full SHA for 2930ee6
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 628b94618695fdf24b5b8cc9f56af6d86efa265d
+refs/heads/master: c0f357924d8c96d2f8510055ecd79ed0f3e1840b
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/libcore/vec.rs
@@ -1877,7 +1877,7 @@ mod u8 {
1877
pure fn gt(a: &~[u8], b: &~[u8]) -> bool { cmp(a, b) > 0 }
1878
1879
/// Byte-vec hash function
1880
- fn hash(s: &~[u8]) -> uint {
+ pure fn hash(s: &~[u8]) -> uint {
1881
hash::hash_bytes(*s) as uint
1882
}
1883
0 commit comments