Skip to content

Add StringName == &str equality operator#1420

Merged
Bromeon merged 1 commit intomasterfrom
feature/stringname-str-eq
Dec 4, 2025
Merged

Add StringName == &str equality operator#1420
Bromeon merged 1 commit intomasterfrom
feature/stringname-str-eq

Conversation

@Bromeon
Copy link
Copy Markdown
Member

@Bromeon Bromeon commented Nov 26, 2025

Now that StringName::chars() has been merged in #1419, we can add PartialEq<str> for StringName.

Bases on #1415, which does the same thing for GString.
Breaking because "str".into() becomes ambiguous.

@Bromeon Bromeon added this to the 0.5 milestone Nov 26, 2025
@Bromeon Bromeon added feature Adds functionality to the library c: core Core components breaking-change Requires SemVer bump labels Nov 26, 2025
@Bromeon Bromeon force-pushed the feature/stringname-str-eq branch from a834d58 to e9f9c27 Compare November 26, 2025 20:24
@GodotRust
Copy link
Copy Markdown

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-1420

@Bromeon Bromeon force-pushed the feature/stringname-str-eq branch from e9f9c27 to 5154eb3 Compare December 4, 2025 19:10
@Bromeon Bromeon force-pushed the feature/stringname-str-eq branch from 5154eb3 to 53e7c55 Compare December 4, 2025 20:02
@Bromeon Bromeon enabled auto-merge December 4, 2025 20:02
@Bromeon Bromeon added this pull request to the merge queue Dec 4, 2025
Merged via the queue into master with commit c6efcc7 Dec 4, 2025
20 checks passed
@Bromeon Bromeon deleted the feature/stringname-str-eq branch December 4, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Requires SemVer bump c: core Core components feature Adds functionality to the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants