From be82af2a474b9c6ac85ec1e001af1704521820e6 Mon Sep 17 00:00:00 2001 From: David Orchard Date: Mon, 2 Aug 2021 23:17:08 -0700 Subject: Rename MapImpl to Map --- src/file/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/file/mod.rs') diff --git a/src/file/mod.rs b/src/file/mod.rs index d5744f4..0160d7c 100644 --- a/src/file/mod.rs +++ b/src/file/mod.rs @@ -4,7 +4,7 @@ pub mod source; use std::path::{Path, PathBuf}; use crate::error::*; -use crate::map::MapImpl; +use crate::map::Map; use crate::source::Source; use crate::value::Value; @@ -99,7 +99,7 @@ where Box::new((*self).clone()) } - fn collect(&self) -> Result> { + fn collect(&self) -> Result> { // Coerce the file contents to a string let (uri, contents, format) = match self .source @@ -110,7 +110,7 @@ where Err(error) => { if !self.required { - return Ok(MapImpl::new()); + return Ok(Map::new()); } return Err(error); -- cgit v1.2.3