From 7a4bcaa2474820e82b60d01743c7d3fbe31a4f90 Mon Sep 17 00:00:00 2001 From: MGlolenstine Date: Mon, 6 Dec 2021 13:57:31 +0100 Subject: [PATCH] Fix: fixed the compilation error. --- src/file/format/dhall.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),