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

Regen with latest gir #1421

Closed
wants to merge 2 commits into from
Closed

Conversation

bilelmoussaoui
Copy link
Member

No description provided.

dyn future::Future<Output = Result<(gio::InputStream, GString), glib::Error>> + 'static,
>,
> {
) -> Result<(gio::InputStream, GString), glib::Error> {
let mime_types = mime_types
.iter()
.copied()
.map(String::from)
.collect::<Vec<_>>();
Copy link
Member

Choose a reason for hiding this comment

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

This is an API change now btw. The previous version was only borrowing mime_types for the duration of the call, this one is borrowing it until the resulting future is gone.

Not necessarily a problem but something to be aware of.

@bilelmoussaoui
Copy link
Member Author

Closing as I don't plan to push this forward any time soon

@bilelmoussaoui bilelmoussaoui deleted the bilelmoussaoui/regen-async-impl branch January 20, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants