File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 93a1f5e85fb2d17c4dfca7a282d9bf6805dfaa16
5
+ refs/heads/try: 16eb06c246f76bdfdda9aab978e57fb6171d6f7b
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -1136,7 +1136,7 @@ impl extensions<T: copy> for [T] {
1136
1136
1137
1137
#[ doc = "Unsafe operations" ]
1138
1138
mod unsafe {
1139
- // FIXME: This should have crate visibility
1139
+ // FIXME: This should have crate visibility (#1893 blocks that)
1140
1140
#[ doc = "The internal representation of a vector" ]
1141
1141
type vec_repr = { mut fill : uint , mut alloc : uint , data : u8 } ;
1142
1142
@@ -1228,8 +1228,9 @@ mod u8 {
1228
1228
1229
1229
#[ doc = "String hash function" ]
1230
1230
fn hash ( & & s: [ u8 ] ) -> uint {
1231
- // djb hash.
1232
- // FIXME: replace with murmur.
1231
+ /* Seems to have been tragically copy/pasted from str.rs,
1232
+ or vice versa. But I couldn't figure out how to abstract
1233
+ it out. -- tjc */
1233
1234
1234
1235
let mut u: uint = 5381 u;
1235
1236
vec:: iter ( s, { |c| u *= 33 u; u += c as uint ; } ) ;
You can’t perform that action at this time.
0 commit comments