import: Remove unused function

This commit is contained in:
Elias Projahn 2021-04-24 15:24:33 +02:00
parent e7cd5b9630
commit 274ba719a3

View file

@ -29,14 +29,6 @@ pub enum Error {
}
impl Error {
/// Create a new error without an explicit source.
pub(super) fn o(msg: String) -> Self {
Self::Unexpected {
msg,
source: None,
}
}
/// Create a new error with an explicit source.
pub(super) fn os(source: impl error::Error + Send + Sync + 'static) -> Self {
Self::Unexpected {