diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/string.gleam | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gleam/string.gleam b/src/gleam/string.gleam index 0f073b9..14acc23 100644 --- a/src/gleam/string.gleam +++ b/src/gleam/string.gleam @@ -543,6 +543,11 @@ fn padding(size: Int, pad_string: String) -> String { /// Removes whitespace on both sides of a `String`. /// +/// Whitespace in this function is the set of nonbreakable whitespace +/// codepoints, defined as Pattern_White_Space in [Unicode Standard Annex #31][1]. +/// +/// [1]: https://unicode.org/reports/tr31/ +/// /// ## Examples /// /// ```gleam |