Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Apr 30, 2020

Specifying it as 'static is very specific and instead we can let the
caller chose any lifetime they want here.

CC @GuillaumeGomez @EPashkin

Specifying it as 'static is very specific and instead we can let the
caller chose any lifetime they want here.
@heftig
Copy link

heftig commented Apr 30, 2020

A static reference can be reborrowed into a reference with any lifetime. Why is this needed?

@sdroege
Copy link
Member Author

sdroege commented Apr 30, 2020

See rust-lang/rust#42417

@EPashkin
Copy link
Member

Oh, then we have no choice 😭

@GuillaumeGomez
Copy link
Member

👍

gstreamer-github pushed a commit to sdroege/gstreamer-rs that referenced this pull request Apr 30, 2020
@sdroege sdroege merged commit cbd3d5a into gtk-rs:master Apr 30, 2020
@sdroege sdroege deleted the quark-any-lifetime branch April 30, 2020 08:24
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.

4 participants