From 4c0339242a8bd23bb0d1b6b64f383ba5f855d062 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 14 Aug 2022 08:06:52 +0300 Subject: [PATCH] doc: fix example comment for string.strip_margin() --- vlib/builtin/string.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vlib/builtin/string.v b/vlib/builtin/string.v index ca2640dc4..b2bf9c194 100644 --- a/vlib/builtin/string.v +++ b/vlib/builtin/string.v @@ -1935,12 +1935,12 @@ pub fn (s string) fields() []string { // Example: // ```v // st := 'Hello there, -// |this is a string, -// | Everything before the first | is removed'.strip_margin() +// | this is a string, +// | Everything before the first | is removed'.strip_margin() // // assert st == 'Hello there, -// this is a string, -// Everything before the first | is removed' +// this is a string, +// Everything before the first | is removed' // ``` pub fn (s string) strip_margin() string { return s.strip_margin_custom(`|`) -- 2.30.2