Skip to content

Commit

Permalink
Reword the function doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdrag00nv2 committed Sep 26, 2023
1 parent 52985a4 commit 401eab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/sema/string_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const StringTypeReplaceAllFunctionName = "replaceAll"
const StringTypeReplaceAllFunctionDocString = `
Returns a new string after replacing all the occurrences of parameter ` + "`of` with the parameter `with`" + `.
If with is empty, it matches at the beginning of the string and after each UTF-8 sequence, yielding up to k+1 replacements for a k-rune string.
If with is empty, it matches at the beginning of the string and after each UTF-8 sequence, yielding k+1 replacements for a string of length k.
`

// ByteArrayType represents the type [UInt8]
Expand Down

0 comments on commit 401eab8

Please sign in to comment.