You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@withoutboats proposed in #49150 to move the Pin API to its own module in order to have a place to provide a high level overview for it.
I am making this a separate issue to discuss this particular aspect of the stabilization process, to not overload the tracking issue.
I found a problem with trying to move the API:
both the Option type and Future trait in core depend on PinMut directly so it can't just be moved from core, and PinBox requires allocation so it can't be in core.
should those types just be re-exportd from core and alloc into a module for the sake of unified documentation then? or is there some other way?
The text was updated successfully, but these errors were encountered:
@nivkner It sounds like there's some confusion-- I think the discussion was about moving them into their own module (e.g. mod pin), not their own crate. They would still be defined in the core and alloc crates.
@withoutboats proposed in #49150 to move the Pin API to its own module in order to have a place to provide a high level overview for it.
I am making this a separate issue to discuss this particular aspect of the stabilization process, to not overload the tracking issue.
I found a problem with trying to move the API:
both the
Option
type andFuture
trait incore
depend onPinMut
directly so it can't just be moved fromcore
, andPinBox
requires allocation so it can't be incore
.should those types just be re-exportd from
core
andalloc
into a module for the sake of unified documentation then? or is there some other way?The text was updated successfully, but these errors were encountered: