You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
- bevyengine#17111
## Solution
Set the `clippy::allow_attributes` and
`clippy::allow_attributes_without_reason` lints to `deny`, and bring
`bevy_input` in line with the new restrictions.
## Testing
`cargo clippy --tests --package bevy_input` was run, and no errors were
encountered.
#[allow(clippy::doc_markdown)]// Clippy doesn't like our use of <kbd>.
241
+
#[expect(
242
+
clippy::doc_markdown,
243
+
reason = "We use camel-case words inside `<kbd>` tags to represent keyboard keys, which are not identifiers that we should be putting inside backticks."
244
+
)]
242
245
#[repr(u32)]
243
246
pubenumKeyCode{
244
247
/// This variant is used when the key cannot be translated to any other variant.
#[allow(clippy::doc_markdown)]// Clippy doesn't like our use of <kbd>.
770
+
#[expect(
771
+
clippy::doc_markdown,
772
+
reason = "We use camel-case words inside `<kbd>` tags to represent keyboard keys, which are not identifiers that we should be putting inside backticks."
773
+
)]
768
774
pubenumKey{
769
775
/// A key string that corresponds to the character typed by the user, taking into account the
770
776
/// user’s current locale setting, and any system-level keyboard mapping overrides that are in
0 commit comments