summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authordfhoughton <dfhoughton@gmail.com>2019-01-06 08:25:56 -0500
committerdfhoughton <dfhoughton@gmail.com>2019-01-06 08:25:56 -0500
commit017b72acbc7131172c05800568d48225b1d7d1b8 (patch)
tree9228d0796d2fb8fe4a7b7d2002a0e57af3dd0037 /src/lib.rs
parent72e71d9a7f94735504ad134226d5949b44fe7023 (diff)
downloadtwo-timer-017b72acbc7131172c05800568d48225b1d7d1b8.zip
hiding public API item
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 0a69014..cdd6e8a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -185,6 +185,9 @@ use pidgin::{Grammar, Match, Matcher};
use regex::Regex;
lazy_static! {
+ // making this public is useful for testing, but best to keep it hidden to
+ // limit complexity and commitment
+ #[doc(hidden)]
pub static ref GRAMMAR: Grammar = grammar!{
(?ibBw)