From 3018a6030e24730d989d85e387e07e29861bb4b0 Mon Sep 17 00:00:00 2001 From: disarray2077 <86157825+disarray2077@users.noreply.github.com> Date: Sun, 2 Jan 2022 01:12:13 -0300 Subject: [PATCH] Remove unnecessary `mut`s This fixes some warnings because `SHA256` isn't a struct anymore. --- BeefLibs/corlib/src/Security/Cryptography/SHA256.bf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BeefLibs/corlib/src/Security/Cryptography/SHA256.bf b/BeefLibs/corlib/src/Security/Cryptography/SHA256.bf index 90d79f68..32c21a6a 100644 --- a/BeefLibs/corlib/src/Security/Cryptography/SHA256.bf +++ b/BeefLibs/corlib/src/Security/Cryptography/SHA256.bf @@ -134,7 +134,7 @@ namespace System.Security.Cryptography mData = .(?); } - void Transform() mut + void Transform() { uint32 a, b, c, d, e, f, g, h, i, j, t1, t2; uint32[64] m = ?; @@ -177,7 +177,7 @@ namespace System.Security.Cryptography mState[7] += h; } - public void Update(Span data) mut + public void Update(Span data) { for (int i = 0; i < data.Length; ++i) { @@ -192,7 +192,7 @@ namespace System.Security.Cryptography } } - public SHA256Hash Finish() mut + public SHA256Hash Finish() { int i = mDataLen;