Stream: general

Topic: `<*mut [T]>::get`


oli (May 08 2019 at 15:04, on Zulip):

and unfortunately we have no get on a *mut [T], so you need to use ptr arithmetic

That seems like a good method to have. This sounds like something T-libs can decide to FCP without an RFC

RalfJ (May 08 2019 at 15:12, on Zulip):

do we have raw-ptr-as-self yet?

oli (May 08 2019 at 15:14, on Zulip):

well, it's Copy, so you can just make the method take self (e.g. like is_null does)

RalfJ (May 08 2019 at 15:17, on Zulip):

hm, fair

Last update: Nov 20 2019 at 12:30UTC