-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Having a local trait Init is problematic for a number of reasons:
Initis implemented on some external types, such asArrayVecandTokenLock, for internal use. However,Initis also exposed to the user to allow for its use withr3::hunk::Hunk, giving access to these internal-use-only trait implementations. This means removing these trait implementations is a breaking change.- Implementing
Initin an external crate requires a dependency onr3even if the rest ofr3is not needed at all.
The best course of action is to replace Init with something else provided by an upstream crate or a language feature.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working