aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/string.gleam14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gleam/string.gleam b/src/gleam/string.gleam
index bde93e2..3558dbb 100644
--- a/src/gleam/string.gleam
+++ b/src/gleam/string.gleam
@@ -310,13 +310,13 @@ pub fn join(strings: List(String), with separator: String) -> String {
//
// pub fn pad_right(string: String, to size: Int, with: String) {}
-// Get rid of whitespace on both sides of a String.
-//
-// ## Examples
-// > trim(" hats \n")
-// "hats"
-//
-//
+/// Get rid of whitespace on both sides of a String.
+///
+/// ## Examples
+/// > trim(" hats \n")
+/// "hats"
+///
+///
pub external fn trim(String) -> String =
"gleam_stdlib" "string_trim"