Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
steveklabnik
· 8y ago · 0 comments
Sync is implemented automatically for most types; if you want to tell the compiler something is Sync when it thinks it isn’t, that’s when you need unsafe.
Same with Send, which is more primitive than Sync.
Comments
[–]
zenhack
8y ago
Ah, point. That would probably need to change to relax the one mutable reference constraint, if you wanted to.