mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-14 23:18:28 +00:00
just ignore all warnings on MouseCursor rather than ignore 4 separate warnings for it
This commit is contained in:
parent
aa1cbed2ca
commit
d15b97d70f
@ -36,8 +36,11 @@ fn test_mouse_button_variants() {
|
||||
/// Mouse cursor type identifier
|
||||
#[repr(i32)]
|
||||
#[derive(Copy, Clone, Debug, Hash, Eq, PartialEq)]
|
||||
#[allow(unknown_lints)] // Fixme: remove once `clippy::upper_case_acronyms` is stable
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
// TODO: this should just be `#[allow(clippy::upper_case_acronyms)]`, but doing
|
||||
// so in a way that works before it stabilizes is a pain (in part because
|
||||
// `unknown_clippy_lints` was renamed to unknown_lints). Oh well, it's over a
|
||||
// small amount of code.
|
||||
#[allow(warnings)]
|
||||
pub enum MouseCursor {
|
||||
Arrow = sys::ImGuiMouseCursor_Arrow,
|
||||
/// Automatically used when hovering over text inputs, etc.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user