Tiny cleanup

This commit is contained in:
mlemanczyk committed 2023-01-15 20:13:49 +01:00
1 parent f500f846ac
commit 8067bfb542
1 file changed
-8
@@ -161,14 +161,6 @@ namespace Recyclable.Collections
}
}
//public static void AddRange<T>(this RecyclableList<T> destination, IEnumerable<T> source)
//{
// foreach (var item in source)
// {
// destination.Add(item);
// }
//}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static long LimitTo(this long value, int limit)
=> (value <= limit) ? value : limit;