gtk-rs / gtk-rs-core

Rust bindings for GNOME libraries
https://gtk-rs.org/gtk-rs-core
MIT License
280 stars 112 forks source link

glib: Add `Quark::from_static_str()` #1312

Closed sdroege closed 7 months ago

sdroege commented 7 months ago

This avoids an allocation if the string is already statically allocated.