Tiny cleanup

This commit is contained in:
mlemanczyk committed 2023-06-28 22:54:12 +02:00
1 parent ba4fbbee98
commit deb95a571c
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ using System.Runtime.CompilerServices;
namespace Recyclable.Collections namespace Recyclable.Collections
{ {
[Serializable] [Serializable]
public sealed partial class RecyclableList<T> : IList<T>, IReadOnlyList<T>, IList, IDisposable public sealed partial class RecyclableList<T> : IList<T>, IReadOnlyList<T>, IDisposable
{ {
private static readonly ArrayPool<T> _arrayPool = ArrayPool<T>.Create(); private static readonly ArrayPool<T> _arrayPool = ArrayPool<T>.Create();
private static readonly bool NeedsClearing = !typeof(T).IsValueType; private static readonly bool NeedsClearing = !typeof(T).IsValueType;