diff --git a/src/file/format/dhall.rs b/src/file/format/dhall.rs index 03bee38c..13077319 100644 --- a/src/file/format/dhall.rs +++ b/src/file/format/dhall.rs @@ -1,4 +1,4 @@ -use std::collections::HashMap; +use crate::map::Map; use std::error::Error; use crate::{ @@ -10,7 +10,7 @@ use crate::{ pub fn parse( uri: Option<&String>, text: &str, -) -> Result, Box> { +) -> Result, Box> { let value = from_dhall_value(uri, serde_dhall::from_str(text).parse()?); match value.kind { ValueKind::Table(map) => Ok(map),