From d95d3fa74376d67af5ed80a92bf20292e2a7ba1d Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 8 Jan 2020 20:47:41 -0800 Subject: [PATCH] Fix miscellaneous compile warnings --- core-foundation/src/url.rs | 1 - core-graphics/src/event.rs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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 {