Re:Impressions of Rust as a Swift Developer: Memory Management
by benmmurphy on Saturday March 14, 2020 @08:21AM
(#22574729)
I don't know much about swift but this shows the closure is able to mutate the Array. I guess value types are captured by reference by a closure.
[ Parent
| on HN ]
There are no comments on this comment yet.