[stdlib] Unify init pointee methods#6355
Conversation
|
CC @NathanSWard. |
NathanSWard
left a comment
There was a problem hiding this comment.
Thanks for this!
Apologies on being a bit slow to review. I left some comments!
Once you address them and if you can rebase on main, I should be able to pull and get this merged internally!
a66ea5c to
7f984c5
Compare
Let my know if there is anything else 😉 |
|
haha sorry again... if you can rebase once more I'll be on top of syncing. There's been a lot of churn in the stdlib recently so merge conflicts pop up too fast I can't keep up 😢 |
569a0e8 to
3a5b60f
Compare
3a5b60f to
2e51c7d
Compare
haha no problem; just the downsides of very rapid development pace 🤓 Let's try again! |
|
!sync |
Summary
Unify
init_pointeemethods from:init_pointee_copyinit_pointee_moveto only:
init_pointeewith arguments
copyandtaketo align with the "init-unification".Actual method changes in:
mojo/stdlib/std/memory/unsafe_pointer.mojomojo/stdlib/std/memory/_nonnull.mojoRest is adjusting to the new name in stdlib, docs, mdx and changelog.
Assisted-by: AI
Testing
As I am fairly new to the repo I am not sure which tests ideally to run. The following were run and passed.