Skip to content

Commit

Permalink
Update src/std/main.ab
Browse files Browse the repository at this point in the history
Co-authored-by: Phoenix Himself <[email protected]>
  • Loading branch information
kilianc and Ph0enixKM authored May 22, 2024
1 parent bfa1d51 commit 7e71a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/std/main.ab
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fun lines(text: Text): [Text] {
pub fun words(text: Text): [Text] {
let result = [Text]
let trimmed = trim(text)
unsafe $IFS=\$' ' read -rd '' -a {nameof result} <<<"\${nameof trimmed}"$
unsafe $read -rd '' -a {nameof result} <<<"\${nameof text}"$
return result
}

Expand Down

0 comments on commit 7e71a63

Please sign in to comment.