diff --git a/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt b/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt index f5e57a803d9..a842c04f98e 100644 --- a/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt +++ b/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt @@ -217,7 +217,7 @@ public class FileTreeWalk private constructor( * Sets a predicate [function], that is called on any entered directory before its files are visited * and before it is visited itself. * - * If the [function] returns `false` the directory is not entered, and neither it nor its files are not visited. + * If the [function] returns `false` the directory is not entered and neither it nor its files are visited. */ public fun onEnter(function: (File) -> Boolean): FileTreeWalk { return FileTreeWalk(start, direction, onEnter = function, onLeave = onLeave, onFail = onFail, maxDepth = maxDepth)