🔨 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
1 changed files with 1 additions and 1 deletions

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