From 82bdd88cd1bf8c4e41086203dceb1f7e25daa6ae Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 11 Jun 2024 07:28:17 -0700 Subject: [PATCH] Update String.Comparison.cs --- .../System.Private.CoreLib/src/System/String.Comparison.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/String.Comparison.cs b/src/libraries/System.Private.CoreLib/src/System/String.Comparison.cs index 67307b508f157a..ae501795117943 100644 --- a/src/libraries/System.Private.CoreLib/src/System/String.Comparison.cs +++ b/src/libraries/System.Private.CoreLib/src/System/String.Comparison.cs @@ -1056,7 +1056,7 @@ private static unsafe int GetNonRandomizedHashCodeOrdinalIgnoreCaseSlow(uint has { int length = str.Length; - // We allocate one char more than the length to accomodate a null terminator. + // We allocate one char more than the length to accommodate a null terminator. // That lets the reading always be performed two characters at a time, as odd-length // inputs will have a final terminator to backstop the last read. char[]? borrowedArr = null;