diff --git a/core-graphics/src/event.rs b/core-graphics/src/event.rs index 181b2a2..f28e293 100644 --- a/core-graphics/src/event.rs +++ b/core-graphics/src/event.rs @@ -12,10 +12,10 @@ pub type CGEventField = u32; pub type CGKeyCode = u16; pub type CGScrollEventUnit = u32; -// Flags for events -// -// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h) bitflags! { + /// Flags for events + /// + /// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h) #[repr(C)] pub struct CGEventFlags: u64 { const CGEventFlagNull = 0;