Track Rust nightlies

This commit is contained in:
Carl Lerche
2015-04-01 20:09:20 -07:00
parent 7a12abb6e6
commit f0ce42d9c3
6 changed files with 16 additions and 10 deletions
+3 -1
View File
@@ -30,7 +30,9 @@ impl io::Read for Chunked {
let src = self.chunks[0];
let len = cmp::min(src.len(), dst.len());
bytes::copy_memory(&mut dst[..len], &src[..len]);
bytes::copy_memory(
&src[..len],
&mut dst[..len]);
if len < src.len() {
self.chunks[0] = &src[len..];