Skip to content

Commit b82b39a

Browse files
committed
add new behaviour in specs
1 parent 790ef59 commit b82b39a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/specs/stdlib_string_type.md

+1
Original file line numberDiff line numberDiff line change
@@ -1523,6 +1523,7 @@ Experimental
15231523
Moves the allocation from `from` to `to`, consequently deallocating `from` in this process.
15241524
If `from` is not allocated before execution, `to` gets deallocated by the process.
15251525
An unallocated `string_type` instance is equivalent to an empty string.
1526+
If `from` and `to` are the same variable, then `from` remains unchanged.
15261527

15271528
#### Syntax
15281529

0 commit comments

Comments
 (0)