Skip to content

Commit

Permalink
chore: add missing flatten combinator description from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
purpleclay committed Oct 14, 2024
1 parent 12c9d0e commit 6b1061e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/combinators.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,8 @@ ext: ""
....

|https://pkg.go.dev/github.com/purpleclay/chomp#Flatten[Flatten]

Flattens the output from a combinator by joining all extracted values into a string
|
[source,go]
----
Expand Down
2 changes: 1 addition & 1 deletion modifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func Peek[T Result](c Combinator[T]) Combinator[T] {
}
}

// Flatten the output of a [Combinator] by joining all extracted values
// Flatten the output from a [Combinator] by joining all extracted values
// into a string.
//
// chomp.Flatten(
Expand Down

0 comments on commit 6b1061e

Please sign in to comment.