Fix bug when setting character in string via a method call.

This commit is contained in:
Stephen Chung
2020-06-16 23:49:11 +08:00
parent 151cd1af48
commit b6e1f652b6
2 changed files with 47 additions and 22 deletions

View File

@@ -7,6 +7,11 @@ Version 0.15.1
This is a minor release which enables updating indexers (via registered indexer setters) and supports functions
with `&str` parameters (maps transparently to `ImmutableString`).
Buf fix
-------
* `let s="abc"; s[1].change_to('X');` now correctly sets the character '`X`' into '`s`' yielding `"aXc"`.
Breaking changes
----------------