Skip to content

Remove unnecessary 'static lifetimes on Renderer traits#290

Merged
hecrj merged 3 commits into
iced-rs:masterfrom
AlisCode:aliscode/288/remove-unnecessary-static
Apr 13, 2020
Merged

Remove unnecessary 'static lifetimes on Renderer traits#290
hecrj merged 3 commits into
iced-rs:masterfrom
AlisCode:aliscode/288/remove-unnecessary-static

Conversation

@AlisCode

Copy link
Copy Markdown
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

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(See below)

Comment thread native/src/widget/button.rs Outdated
@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

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

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