We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 790ef59 commit b82b39aCopy full SHA for b82b39a
doc/specs/stdlib_string_type.md
@@ -1523,6 +1523,7 @@ Experimental
1523
Moves the allocation from `from` to `to`, consequently deallocating `from` in this process.
1524
If `from` is not allocated before execution, `to` gets deallocated by the process.
1525
An unallocated `string_type` instance is equivalent to an empty string.
1526
+If `from` and `to` are the same variable, then `from` remains unchanged.
1527
1528
#### Syntax
1529
0 commit comments