We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13b9e5 commit 9872ec2Copy full SHA for 9872ec2
Sources/Algorithms/Permutations.swift
@@ -298,8 +298,8 @@ extension Collection {
298
/// sequence, the resulting sequence has no elements.
299
///
300
/// - Parameter k: The number of elements to include in each permutation.
301
- /// If `count` is `nil`, the resulting sequence represents permutations
302
- /// of this entire collection.
+ /// If `k` is `nil`, the resulting sequence represents permutations of this
+ /// entire collection.
303
304
/// - Complexity: O(1)
305
@inlinable
0 commit comments