Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary 'static lifetimes on Renderer traits #290

Merged
merged 3 commits into from Apr 13, 2020

Conversation

AlisCode
Copy link
Contributor

Fixes #288 .

Removes 'static lifetime bound on Renderer implementors by defining marker types where applicable.

Thanks a lot for your reactivity on this issue :)

@AlisCode AlisCode force-pushed the aliscode/288/remove-unnecessary-static branch from 170676b to f7d7ab1 Compare April 11, 2020 22:58
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(See below)

native/src/widget/button.rs Outdated Show resolved Hide resolved
@hecrj hecrj added feature New feature or request improvement An internal improvement labels Apr 11, 2020
@hecrj hecrj added this to the 0.1.1 milestone Apr 11, 2020
@hecrj hecrj changed the title #288 Remove unnecessary 'static lifetime on Renderer Remove unnecessary 'static lifetimes on Renderer traits Apr 13, 2020
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. Thank you again 🎉

@hecrj hecrj merged commit ce65097 into iced-rs:master Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request improvement An internal improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unnecessary 'static requirement for Renderers
2 participants