Tiny cleanup

This commit is contained in:
mlemanczyk committed 2023-06-22 20:58:08 +02:00
1 parent 09a3420899
commit 87ddc31cee
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ namespace Recyclable.Collections
private static readonly ArrayPool<T> _arrayPool = ArrayPool<T>.Create();
private static readonly bool _defaultIsNull = default(T) == null;
protected static readonly bool NeedsClearing = !typeof(T).IsValueType;
public static explicit operator ReadOnlySpan<T>(RecyclableList<T> source) => new(source._memoryBlock, 0, source.Count);
protected T[] _memoryBlock;