From 9c9e6290a65ecb58f1be466a4252da949b2d552b Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Tue, 17 Sep 2019 08:09:19 +1000 Subject: [PATCH] remove unnecessary mut argument (#2016) --- vlib/encoding/binary/binary.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/encoding/binary/binary.v b/vlib/encoding/binary/binary.v index 440ce2e7c3..d5d6579e55 100644 --- a/vlib/encoding/binary/binary.v +++ b/vlib/encoding/binary/binary.v @@ -31,7 +31,7 @@ pub fn little_endian_put_u32(b mut []byte, v u32) { b[3] = byte(v >> u32(24)) } -pub fn little_endian_u64(b mut []byte) u64 { +pub fn little_endian_u64(b []byte) u64 { _ := b[7] // bounds check return u64(b[0]) | u64(u64(b[1])<