auto merge of #7149 : thestinger/rust/vec, r=graydon

This commit is contained in:
bors 2013-06-15 23:10:12 -07:00
commit 8482d29d9b
20 changed files with 52 additions and 115 deletions

View file

@ -95,7 +95,8 @@ impl RepeatFasta {
let alu: &[u8] = self.alu.as_bytes();
copy_memory(buf, alu, alu_len);
copy_memory(vec::mut_slice(buf, alu_len, buf.len()),
let buf_len = buf.len();
copy_memory(vec::mut_slice(buf, alu_len, buf_len),
alu,
LINE_LEN);