-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 the doc warning attribute and document remaining items for bevy_window
#9933
Conversation
|
Document the remaining items, fix the doc warning attribute and remove some unused getters
0797fc1
to
4e63c81
Compare
@@ -1,6 +1,12 @@ | |||
#![allow(clippy::type_complexity)] | |||
#![warn(missing_docs)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just #[deny(missing_docs)]
here from now on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept warn
since that's what seems to be intended to be put for all crates in the long run, according to #3492.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha!
…window` (bevyengine#9933) # Objective Complete the documentation for `bevy_window`. ## Solution The `warn(missing_doc)` attribute was only applying to the `cursor` module as it was declared as an inner attribute. I switched it to an outer attribute and documented the remaining items.
Objective
Complete the documentation for
bevy_window
.Solution
The
warn(missing_doc)
attribute was only applying to thecursor
module as it was declared as an inner attribute. I switched it to an outer attribute and documented the remaining items.