y86-dev
y86-dev
With the `~` operator we could change that: `let _: Pin = pinned_struct~field;`
@nbdd0121 > I recently came up with an idea and implemented it here: https://github.com/nbdd0121/field-projection. I haven't finished writing up the idea and the docs, but the core idea is to...
Having read the last few comments gave me an idea. I have formulated it on [IRLO](https://internals.rust-lang.org/t/solving-function-ecosystem-division/17538). > And then `v.push::(x)`? I do not really like that approach, it is not...
> I guess there _could_ be a theoretical race condition if context A then tries to lock `mtx` and access `protected`. Locking the mutex will prevent reordering at that level...
I would prefer the solution outlined in this issue, since relying on raw pointers also avoids the aliasing problems we would have when having a `&mut T` instead of a...