mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: fix example comment for string.strip_margin()
This commit is contained in:
parent
9734148f12
commit
4c0339242a
|
@ -1935,7 +1935,7 @@ pub fn (s string) fields() []string {
|
|||
// Example:
|
||||
// ```v
|
||||
// st := 'Hello there,
|
||||
// |this is a string,
|
||||
// | this is a string,
|
||||
// | Everything before the first | is removed'.strip_margin()
|
||||
//
|
||||
// assert st == 'Hello there,
|
||||
|
|
Loading…
Reference in New Issue
Block a user