Skip to content

Commit 61ab279

Browse files
authored
Fix doc comment in DropWhile.swift (#82290)
1 parent 2ba4e7f commit 61ab279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/DropWhile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct LazyDropWhileSequence<Base: Sequence> {
2121
@usableFromInline // lazy-performance
2222
internal let _predicate: (Element) -> Bool
2323

24-
/// Create an instance with elements `transform(x)` for each element
24+
/// Create an instance with elements `predicate(x)` for each element
2525
/// `x` of base.
2626
@inlinable // lazy-performance
2727
internal init(_base: Base, predicate: @escaping (Element) -> Bool) {

0 commit comments

Comments
 (0)