From 50e04d5f6947d464b884e0c0691e72b08109c473 Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Sun, 19 Feb 2017 01:48:04 -0600 Subject: [PATCH] make the parser stuff private for now --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 86e7a2c..0c313dc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,7 +39,7 @@ pub trait Fighter { fn power (&self) -> u8; } -pub struct Parser { +struct Parser { fighter_type: &'static str, document: Document } @@ -70,7 +70,7 @@ impl Parser { } } -pub struct Skills { +struct Skills { map: BTreeMap } @@ -80,7 +80,7 @@ impl Skills { } } -pub struct Skill { +struct Skill { score: String }