Closed drmingdrmer closed 4 days ago
Remove unsafe from trait unsafe trait MaybeSend
unsafe
unsafe trait MaybeSend
Closes #.
A safe trait provides the same functionality as its unsafe counterpart but requires no safety guarantees from the implementor, making the unsafe keyword unnecessary.
Remove unsafe from the trait declaration.
This change is backward compatible
Which issue does this PR close?
Remove
unsafe
from traitunsafe trait MaybeSend
Closes #.
Rationale for this change
A safe trait provides the same functionality as its unsafe counterpart but requires no safety guarantees from the implementor, making the unsafe keyword unnecessary.
What changes are included in this PR?
Remove
unsafe
from the trait declaration.Are there any user-facing changes?
This change is backward compatible