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

Accept NumpadEnter as Enter #171

Merged
merged 1 commit into from
Apr 21, 2023
Merged

Conversation

dimvoly
Copy link
Contributor

@dimvoly dimvoly commented Apr 2, 2023

Just a single line of code added to be able to use NumpadEnter. See Issue #170.

To get this to compile I did have to change the level of missing_docs as the compiler complains of the WorldQuery derive macro being undocumented. See bevy Issue #3492, the crate bevy_ecs_macros is not yet documented enough. Once that is fixed, then the level of documentation can go back up to deny (under a separate PR).

@@ -1,4 +1,4 @@
#![deny(missing_docs)]
#![warn(missing_docs)]
Copy link
Owner

Choose a reason for hiding this comment

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

Could you revert this change please? Other than that, looks good to me. Thanks!

Copy link
Owner

Choose a reason for hiding this comment

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

On the second thought, I guess it'll make CI fail anyway. Let's keep it then :)

Copy link
Owner

Choose a reason for hiding this comment

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

Oh I see. It seems like the new Bevy version breaks CI as its macro generates a struct without documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could #![allow(missing_docs)]? See SO thread. Not too sure how to exclude a single derive macro from the missing docs, there's some forum posts here, but it looks messy and might only work for proc macros.

Could allow and wait for bevy to write their docs.

@vladbat00 vladbat00 merged commit 92aa9de into vladbat00:main Apr 21, 2023
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