aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-09-01 20:19:14 +0200
committerTeddy Wing2018-09-01 20:19:14 +0200
commit81848e3a556a11576543fddb7939e2532cb8a34d (patch)
tree7cdc41873391bcb07a1d187c1b918b632636820a
parent85130047c55b54bd7a3fd567138e1664b2dfcefe (diff)
downloaddome-key-map-81848e3a556a11576543fddb7939e2532cb8a34d.tar.bz2
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.
-rw-r--r--src/cocoa_bridge.rs1
-rw-r--r--src/parser.rs2
2 files changed, 1 insertions, 2 deletions
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<HeadphoneButton>;
+type Trigger = Vec<HeadphoneButton>;
type Action = String;
#[repr(C)]