diff --git a/src/lib.rs b/src/lib.rs index e4cd485..7a2b5c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -35,7 +35,6 @@ mod value; mod writer; use node::NodeDefinition; -use node_types::StandardType; use text_reader::TextXmlReader; use to_text_xml::TextXmlWriter; @@ -46,6 +45,7 @@ pub use printer::Printer; pub use reader::Reader; pub use error::{KbinError, KbinErrorKind, Result}; pub use node::{Node, NodeCollection}; +pub use node_types::StandardType; pub use options::Options; pub use to_element::ToElement; pub use to_text_xml::ToTextXml; diff --git a/src/value/mod.rs b/src/value/mod.rs index 54351e7..d500fca 100644 --- a/src/value/mod.rs +++ b/src/value/mod.rs @@ -202,7 +202,6 @@ macro_rules! tuple { if is_array { let value = match node_type.count { - //0 => return Err(KbinErrorKind::InvalidState.into()), 1 => { // May have a node (i.e. `Ip4`) that is only a single count, but it // can be part of an array