diff --git a/core-foundation/src/url.rs b/core-foundation/src/url.rs index 86470de..064dd7b 100644 --- a/core-foundation/src/url.rs +++ b/core-foundation/src/url.rs @@ -16,7 +16,6 @@ use string::{CFString}; use core_foundation_sys::base::{kCFAllocatorDefault, Boolean}; use std::fmt; -use std::mem::MaybeUninit; use std::ptr; use std::path::{Path, PathBuf}; diff --git a/core-graphics/src/event.rs b/core-graphics/src/event.rs index 770ca08..181b2a2 100644 --- a/core-graphics/src/event.rs +++ b/core-graphics/src/event.rs @@ -12,9 +12,9 @@ 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) +// Flags for events +// +// [Ref](http://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-700/IOHIDSystem/IOKit/hidsystem/IOLLEvent.h) bitflags! { #[repr(C)] pub struct CGEventFlags: u64 {