Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

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

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

xStrom
Copy link
Member

@xStrom xStrom commented Aug 7, 2023

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.

@jneem jneem changed the title Match the web backend's set_tile method signature to others. Match the web backend's set_title method signature to others. Aug 7, 2023
@xStrom xStrom added this pull request to the merge queue Aug 7, 2023
Merged via the queue into linebender:main with commit 241762d Aug 7, 2023
10 checks passed
@xStrom xStrom deleted the settitle branch August 7, 2023 22:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants