summaryrefslogtreecommitdiffstats
path: root/src/format.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.rs')
-rw-r--r--src/format.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/format.rs b/src/format.rs
index 9d666c4..c32dbae 100644
--- a/src/format.rs
+++ b/src/format.rs
@@ -1,11 +1,12 @@
use std::{collections::HashMap, error::Error};
use crate::value::Value;
+use crate::map::Map;
pub trait Format {
fn parse(
&self,
uri: Option<&String>,
text: &str,
- ) -> Result<HashMap<String, Value>, Box<dyn Error + Send + Sync>>;
+ ) -> Result<Map<String, Value>, Box<dyn Error + Send + Sync>>;
}