Remove unused dependencies and dead code warnings

This commit is contained in:
Lucien Greathouse
2022-05-22 19:20:41 -04:00
parent eaac539087
commit 18e53f06fe
4 changed files with 1 additions and 32 deletions

View File

@@ -36,17 +36,3 @@ where
seq.end()
}
pub fn serialize_option_absolute<S, T>(
maybe_path: &Option<T>,
serializer: S,
) -> Result<S::Ok, S::Error>
where
S: Serializer,
T: AsRef<Path>,
{
match maybe_path {
Some(path) => serialize_absolute(path, serializer),
None => serializer.serialize_none(),
}
}