diff options
author | flywind <xzsflywind@gmail.com> | 2021-03-03 08:08:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 08:08:52 +0800 |
commit | a04c9d1f6215a52c89e1e641ea2afcf4ce2a90de (patch) | |
tree | cb61282b6661ef2c7872247edde5e8c1143b045a /lib/std | |
parent | 87897fa2d6b5c256606f05af2d0fd74643cce542 (diff) | |
download | Nim-a04c9d1f6215a52c89e1e641ea2afcf4ce2a90de.tar.gz |
rename prepareStrMutation to prepareMutation (#17235)
* remove unnecessary when statement * remove outdated codes * rename prepareStrMutation to prepareMutation
Diffstat (limited to 'lib/std')
-rw-r--r-- | lib/std/strbasics.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/strbasics.nim b/lib/std/strbasics.nim index 0ea5a2817..9232204ab 100644 --- a/lib/std/strbasics.nim +++ b/lib/std/strbasics.nim @@ -81,7 +81,7 @@ func setSlice*(s: var string, slice: Slice[int]) = impl() else: when defined(nimSeqsV2): - prepareStrMutation(s) + prepareMutation(s) moveMem(addr s[0], addr s[first], last - first + 1) s.setLen(last - first + 1) |