For HWS+: Structs have single owners, which is usually exactly what you want, bu...
Paul Hudson @twostraws@mastodon.social
For HWS+: Structs have single owners, which is usually exactly what you want, but wrapping one in a generic Box class is the cleanest way to share it safely when you genuinely need to. https://www.hackingwithswift.com/plus/intermediate-swift/the-ultimate-box-type