Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-de committed Apr 30, 2021
1 parent 0008410 commit ca88d6f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,18 +331,6 @@ where
Ok(Collection::new(vec))
}

pub(crate) fn make_collection<T, H>(
file_handler: &mut H,
file: &str,
) -> crate::Result<Collection<T>>
where
for<'de> T: serde::Deserialize<'de>,
for<'a> &'a mut H: FileHandler,
{
let vec = read_objects::<_, T>(file_handler, file, true)?;
Ok(Collection::new(vec))
}

pub fn write_collection_with_id<T>(
path: &path::Path,
file: &str,
Expand Down

0 comments on commit ca88d6f

Please sign in to comment.