linebender / glazier

Deprecated Rust Window Creation Library
Apache License 2.0
206 stars 32 forks source link

Match the web backend's `set_title` method signature to others. #143

Closed xStrom closed 1 year ago

xStrom commented 1 year ago

All other backends and more importantly the cross-platform WindowHandle::set_title method takes the title as a &str. The web backend ends up using a &str too, so the inbetween String allocation doesn't make much sense. This PR removes that.