mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 14:28:47 +00:00
🔨 Rename unused lambda parameter in Shuffle()
This commit is contained in:
parent
2df13450a0
commit
a14de1fa96
@ -68,6 +68,6 @@
|
||||
/// <param name="random">The <see cref="Random"/> instance.</param>
|
||||
/// <returns>Returns <paramref name="source"/> shuffled.</returns>
|
||||
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> source, Random random) =>
|
||||
source.OrderBy(x => random.Next());
|
||||
source.OrderBy(_ => random.Next());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user