Closed xStrom closed 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.
WindowHandle::set_title
&str
String
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 inbetweenString
allocation doesn't make much sense. This PR removes that.