From f763977a76cebbc90a7502fdbeaec874c01c70cf Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 9 Jan 2020 08:38:33 -0800 Subject: [PATCH] Move doc comment to struct inside bitflags invocation --- core-graphics/src/event.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;