Skip to content

Conversation

@Bromeon
Copy link
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.

Easier than converting to String/GString, and requires no allocation.
@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

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

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