Skip to content

Commit 6b1061e

Browse files
committed
chore: add missing flatten combinator description from documentation
1 parent 12c9d0e commit 6b1061e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/combinators.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,8 @@ ext: ""
577577
....
578578

579579
|https://pkg.go.dev/github.com/purpleclay/chomp#Flatten[Flatten]
580+
581+
Flattens the output from a combinator by joining all extracted values into a string
580582
|
581583
[source,go]
582584
----

modifier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func Peek[T Result](c Combinator[T]) Combinator[T] {
105105
}
106106
}
107107

108-
// Flatten the output of a [Combinator] by joining all extracted values
108+
// Flatten the output from a [Combinator] by joining all extracted values
109109
// into a string.
110110
//
111111
// chomp.Flatten(

0 commit comments

Comments
 (0)