1
0
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:
Oliver Booth 2019-11-16 11:07:53 +00:00
parent 2df13450a0
commit a14de1fa96
No known key found for this signature in database
GPG Key ID: 4B0992B2602C3778

View File

@ -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());
}
}