auto merge of #7149 : thestinger/rust/vec, r=graydon
This commit is contained in:
commit
8482d29d9b
20 changed files with 52 additions and 115 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue