Re:Rust's Ugly Syntax (2023)
by MetricExpansion on Friday August 30, 2024 @03:20AM
(#41398435)
If I understood all the semantic properties, including the separate compilation requirements, correctly, here’s how I think it would be done in Swift with the proposed nonescapable types features (needed to safely express the AsRef concept here).
(Note that this doesn’t quite compile today and the syntax for nonescaping types is still a proposal.)
[ Parent
| on HN ]
There are no comments on this comment yet.