Skip to content

Commit d3d6335

Browse files
authored
Merge pull request #33 from jGleitz/word-typo
docs: fix typo in Word#partsFromNotation
2 parents 231aef0 + a9e32a8 commit d3d6335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/Word.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Word(val parts: Sequence<String>) {
3535
fun flatMapParts(transform: (String) -> Sequence<String>) = Word(parts.flatMap(transform))
3636

3737
/**
38-
* Creates a new words, with all its parts parsed by the provided [notation]. Allows to parse words that use a combination of notations.
38+
* Creates a new word, with all its parts parsed by the provided [notation]. Allows to parse words that use a combination of notations.
3939
*/
4040
fun partsFromNotation(notation: StringNotation) = Word(parts.flatMap { it.fromNotation(notation).parts })
4141

0 commit comments

Comments
 (0)