We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd9958a commit 098b47cCopy full SHA for 098b47c
1 file changed
Ramstack.Structures/Internal/JitHelpers.cs
@@ -30,7 +30,7 @@ public static ref readonly char GetRawStringData(this string text, int index) =>
30
public static ref T GetRawArrayData<T>(this T[] array, int index)
31
{
32
// It's valid for a ref to point just past the end of an array, and it'll
33
- // be properly GC-tracked. (Though dereferencing it may result in undefined behavior.)
+ // be properly GC-tracked. (Though dereferencing it may result in undefined behavior)
34
return ref Unsafe.Add(ref MemoryMarshal.GetArrayDataReference(array), (nint)(uint)index);
35
}
36
0 commit comments