no need to be marked mutable

allows code to compile with nightly again.
This commit is contained in:
Felix Kronlage
2015-07-07 17:38:12 +02:00
parent 7b63fa034f
commit c17f16fdf2
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ pub trait Buf {
let len = cmp::min(dst.len(), self.remaining());
while off < len {
let mut cnt;
let cnt;
unsafe {
let src = self.bytes();
@@ -127,7 +127,7 @@ pub trait MutBuf : Sized {
let len = cmp::min(src.len(), self.remaining());
while off < len {
let mut cnt;
let cnt;
unsafe {
let dst = self.mut_bytes();