Skip to content

Rust 1.83, allow -> expect (missing_docs) #16561

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

Merged
merged 8 commits into from
Dec 16, 2024

Conversation

bas-ie
Copy link
Contributor

@bas-ie bas-ie commented Nov 30, 2024

Objective

We were waiting for 1.83 to address most of these, due to a bug with missing_docs and expect. Relates to, but does not entirely complete, #15059.

Solution

  • Upgrade to 1.83
  • Switch allow(missing_docs) to expect(missing_docs)
  • Remove a few now-unused allows along the way, or convert to expect

@bas-ie
Copy link
Contributor Author

bas-ie commented Nov 30, 2024

Let's see what the CI has to say now 👀

@BenjaminBrienen
Copy link
Contributor

I think you can use expect there if you use cfg_attr.

@bas-ie bas-ie added C-Docs An addition or correction to our documentation D-Straightforward Simple bug fixes and API improvements, docs, test and examples labels Nov 30, 2024
@BD103 BD103 added S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged A-Cross-Cutting Impacts the entire engine labels Dec 13, 2024
@bas-ie bas-ie added S-Needs-Review Needs reviewer attention (from anyone!) to move forward and removed S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged labels Dec 15, 2024
Copy link
Member

@BD103 BD103 left a comment

Choose a reason for hiding this comment

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

Looks good now!

@BD103 BD103 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Dec 16, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Dec 16, 2024
Merged via the queue into bevyengine:main with commit f2719f5 Dec 16, 2024
34 checks passed
@bas-ie bas-ie deleted the 15059-missing-docs branch December 17, 2024 00:48
ecoskey pushed a commit to ecoskey/bevy that referenced this pull request Jan 6, 2025
# Objective

We were waiting for 1.83 to address most of these, due to a bug with
`missing_docs` and `expect`. Relates to, but does not entirely complete,
bevyengine#15059.

## Solution

- Upgrade to 1.83
- Switch `allow(missing_docs)` to `expect(missing_docs)`
- Remove a few now-unused `allow`s along the way, or convert to `expect`
mrchantey pushed a commit to mrchantey/bevy that referenced this pull request Feb 4, 2025
# Objective

We were waiting for 1.83 to address most of these, due to a bug with
`missing_docs` and `expect`. Relates to, but does not entirely complete,
bevyengine#15059.

## Solution

- Upgrade to 1.83
- Switch `allow(missing_docs)` to `expect(missing_docs)`
- Remove a few now-unused `allow`s along the way, or convert to `expect`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Cross-Cutting Impacts the entire engine C-Docs An addition or correction to our documentation D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants