mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
import: Remove unused function
This commit is contained in:
parent
e7cd5b9630
commit
274ba719a3
1 changed files with 0 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue