From 81848e3a556a11576543fddb7939e2532cb8a34d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 1 Sep 2018 20:19:14 +0200 Subject: parser: Make `Trigger` private again This was added for a432dd2824499959635ac9a7cabec25a31dddb14, but since we didn't end up using it, we can revert this. Might end up making the type public again later, but for now it doesn't need to be. --- src/cocoa_bridge.rs | 1 - src/parser.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/cocoa_bridge.rs b/src/cocoa_bridge.rs index 2f69a3a..54f7904 100644 --- a/src/cocoa_bridge.rs +++ b/src/cocoa_bridge.rs @@ -7,7 +7,6 @@ use std::slice; use libc::{c_char, size_t}; use {HeadphoneButton, MapGroup, MapKind}; -use parser; #[repr(C)] struct renameMeMapGroup { diff --git a/src/parser.rs b/src/parser.rs index 4a7fec8..1d9aa56 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -20,7 +20,7 @@ pub enum HeadphoneButton { Up, Down, } -pub type Trigger = Vec; +type Trigger = Vec; type Action = String; #[repr(C)] -- cgit v1.2.3