Skip to content

[stdlib] Remove StringRef starts and endswith#3867

Closed
martinvuyk wants to merge 3 commits intomodular:nightlyfrom
martinvuyk:remove-stringref-starts-endswith
Closed

[stdlib] Remove StringRef starts and endswith#3867
martinvuyk wants to merge 3 commits intomodular:nightlyfrom
martinvuyk:remove-stringref-starts-endswith

Conversation

@martinvuyk
Copy link
Copy Markdown
Contributor

Remove StringRef starts and endswith

We already have this in StringSlice

Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
@martinvuyk martinvuyk requested a review from a team December 11, 2024 18:48
@JoeLoser JoeLoser self-assigned this Dec 13, 2024
@JoeLoser
Copy link
Copy Markdown
Member

FYI @ConnorGray - any concerns?

@JoeLoser
Copy link
Copy Markdown
Member

!sync

@modularbot modularbot added the imported-internally Signals that a given pull request has been imported internally. label Dec 13, 2024
Comment thread stdlib/test/utils/test_stringref.mojo
@ConnorGray
Copy link
Copy Markdown
Member

!sync

@ConnorGray
Copy link
Copy Markdown
Member

Awesome, thank you so much for moving that over Martin! 🫶 This LGTM, and I resynced to pick up your changes.

@modularbot
Copy link
Copy Markdown
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 nightly 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 the merged-internally Indicates that this pull request has been merged internally label Dec 13, 2024
modularbot pushed a commit that referenced this pull request Dec 14, 2024
[External] [stdlib] Remove `StringRef` starts and endswith

Remove `StringRef` `startswith` and `endswith`.
We already have this in `StringSlice`.

Co-authored-by: martinvuyk <110240700+martinvuyk@users.noreply.github.com>
Closes #3867
MODULAR_ORIG_COMMIT_REV_ID: 6e510ad4bd401110aa4cb1172f3c4c60dfef2628
@modularbot modularbot added the merged-externally Merged externally in public mojo repo label Dec 14, 2024
@modularbot
Copy link
Copy Markdown
Collaborator

Landed in 08a874d! Thank you for your contribution 🎉

@modularbot modularbot closed this Dec 14, 2024
@martinvuyk martinvuyk deleted the remove-stringref-starts-endswith branch December 14, 2024 19:32
modularbot pushed a commit that referenced this pull request Feb 13, 2025
[External] [stdlib] Remove `StringRef` starts and endswith

Remove `StringRef` `startswith` and `endswith`.
We already have this in `StringSlice`.

Co-authored-by: martinvuyk <110240700+martinvuyk@users.noreply.github.com>
Closes #3867
MODULAR_ORIG_COMMIT_REV_ID: 6e510ad4bd401110aa4cb1172f3c4c60dfef2628
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.

4 participants