Skip to content

Conversation

@martinvuyk
Copy link
Contributor

Migrate UnsafePointer.address_of() to using the to= constructor

Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
@martinvuyk martinvuyk requested a review from a team as a code owner April 3, 2025 23:28
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Copy link
Collaborator

@JoeLoser JoeLoser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup, thank you!

@JoeLoser
Copy link
Collaborator

!sync

@modularbot modularbot added the imported-internally Signals that a given pull request has been imported internally. label Apr 17, 2025
@modularbot
Copy link
Collaborator

✅🟣 This contribution has been merged 🟣✅

Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the main branch during the next Mojo nightly release, typically within the next 24-48 hours.

We use Copybara to merge external contributions, click here to learn more.

@modularbot modularbot added merged-internally Indicates that this pull request has been merged internally merged-externally Merged externally in public mojo repo labels Apr 18, 2025
@modularbot
Copy link
Collaborator

Landed in 150fb83! Thank you for your contribution 🎉

@martinvuyk martinvuyk deleted the migrate-unsafepointer-address-of-to-constructor branch April 21, 2025 10:58
modularbot pushed a commit that referenced this pull request May 6, 2025
…ng the `to=` constructor (#59923)

[External] [stdlib] [NFC] Migrate `UnsafePointer.address_of()` to using
the `to=` constructor

Migrate `UnsafePointer.address_of()` to using the `to=` constructor

Co-authored-by: martinvuyk <110240700+martinvuyk@users.noreply.github.com>
Closes #4279
MODULAR_ORIG_COMMIT_REV_ID: f8d2da4adc14bce1e12ed56ea157b3d24a1922a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

imported-internally Signals that a given pull request has been imported internally. merged-externally Merged externally in public mojo repo merged-internally Indicates that this pull request has been merged internally

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants