Skip to content

Commit 7a4bcaa

Browse files
MGlolenstinepolarathene
authored andcommitted
Fix: fixed the compilation error.
1 parent 1f1286e commit 7a4bcaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/file/format/dhall.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::collections::HashMap;
1+
use crate::map::Map;
22
use std::error::Error;
33

44
use crate::{
@@ -10,7 +10,7 @@ use crate::{
1010
pub fn parse(
1111
uri: Option<&String>,
1212
text: &str,
13-
) -> Result<HashMap<String, Value>, Box<dyn Error + Send + Sync>> {
13+
) -> Result<Map<String, Value>, Box<dyn Error + Send + Sync>> {
1414
let value = from_dhall_value(uri, serde_dhall::from_str(text).parse()?);
1515
match value.kind {
1616
ValueKind::Table(map) => Ok(map),

0 commit comments

Comments
 (0)