Move doc comment to struct inside bitflags invocation

This commit is contained in:
Max Brunsfeld
2020-01-09 08:38:33 -08:00
parent d95d3fa743
commit f763977a76
+3 -3
View File
@@ -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;