top | item 39854479

(no title)

georgelyon | 1 year ago

For the record, borrowed references are only going to be really usable in Swift 6 which isn't released yet.

That said, Swift's implementation of borrowing seems significantly more user-friendly than Rust's. While this is very much an advanced feature, I'd expect it to be actually used in many cases where in Rust folks would resort to working around the borrow checking (via things like indexing into arrays and such). As a result I expect it to be significantly more useful.

discuss

order

No comments yet.