Skip to content

Commit 9872ec2

Browse files
committed
Correct reference to name of parameter
1 parent e13b9e5 commit 9872ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Algorithms/Permutations.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ extension Collection {
298298
/// sequence, the resulting sequence has no elements.
299299
///
300300
/// - 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.
301+
/// If `k` is `nil`, the resulting sequence represents permutations of this
302+
/// entire collection.
303303
///
304304
/// - Complexity: O(1)
305305
@inlinable

0 commit comments

Comments
 (0)