From b9b71a43f79b266538a7c0ab7819aa54cc08d184 Mon Sep 17 00:00:00 2001 From: Erik Terpstra <39518+eterps@users.noreply.github.com> Date: Mon, 11 May 2020 18:33:51 +0200 Subject: Use doc comments --- src/gleam/string.gleam | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') 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" -- cgit v1.2.3