Skip to content

Commit cfaf18e

Browse files
committed
---
yaml --- r: 15460 b: refs/heads/try c: 16eb06c h: refs/heads/master v: v3
1 parent 49998e1 commit cfaf18e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 93a1f5e85fb2d17c4dfca7a282d9bf6805dfaa16
5+
refs/heads/try: 16eb06c246f76bdfdda9aab978e57fb6171d6f7b
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/libcore/vec.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ impl extensions<T: copy> for [T] {
11361136

11371137
#[doc = "Unsafe operations"]
11381138
mod unsafe {
1139-
// FIXME: This should have crate visibility
1139+
// FIXME: This should have crate visibility (#1893 blocks that)
11401140
#[doc = "The internal representation of a vector"]
11411141
type vec_repr = {mut fill: uint, mut alloc: uint, data: u8};
11421142

@@ -1228,8 +1228,9 @@ mod u8 {
12281228

12291229
#[doc = "String hash function"]
12301230
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 */
12331234

12341235
let mut u: uint = 5381u;
12351236
vec::iter(s, { |c| u *= 33u; u += c as uint; });

0 commit comments

Comments
 (0)