Skip to content

Commit

Permalink
Fix: fixed the compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
MGlolenstine authored and polarathene committed Oct 4, 2023
1 parent 1f1286e commit 7a4bcaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/file/format/dhall.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::collections::HashMap;
use crate::map::Map;
use std::error::Error;

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

0 comments on commit 7a4bcaa

Please sign in to comment.