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

Fix deprecated constant in docs example #3062

Merged
merged 1 commit into from
Dec 26, 2024
Merged

Conversation

attilarepka
Copy link
Contributor

This PR addresses and removes the usage of a deprecated constant in the documentation example.

Specifically, the deprecated bindgen::CargoCallbacks constant was replaced with the correct bindgen::CargoCallbacks::new() in the docs example.

Copy link
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

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

A bit surprised that warns, but this is obviously also fine.

@emilio emilio added this pull request to the merge queue Dec 26, 2024
Merged via the queue into rust-lang:main with commit 0917399 Dec 26, 2024
34 checks passed
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.

2 participants