mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-09 19:15:27 -05:00
lib: export StandardType
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user