diff --git a/src/helpers.rs b/src/helpers.rs index 604151d6..3aabb8e5 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -22,7 +22,7 @@ pub fn get_map( stream: &S, options: &MapOptions, ) -> Option { - let mut mappings = Vec::with_capacity(stream.mappings_size_hint()); + let mut mappings = Vec::new(); let mut sources: Vec> = Vec::new(); let mut sources_content: Vec> = Vec::new(); let mut names: Vec> = Vec::new();