Skip to content

Commit

Permalink
Remove un-used Import/ExportError variant SerializationFailed
Browse files Browse the repository at this point in the history
Wasn't used anywhere.
Maybe just a botched rebase leftover.
  • Loading branch information
theduke committed Dec 15, 2022
1 parent 6bfc1ef commit 006fd49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lib/api/src/js/exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ pub enum ExportError {
/// This error arises when an export is missing
#[error("Missing export {0}")]
Missing(String),
/// This error arises when an export is missing
#[error("Serialization failed {0}")]
SerializationFailed(String),
}

/// Exports is a special kind of map that allows easily unwrapping
Expand Down
3 changes: 0 additions & 3 deletions lib/api/src/sys/exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ pub enum ExportError {
/// This error arises when an export is missing
#[error("Missing export {0}")]
Missing(String),
/// This error arises when an export is missing
#[error("Serialization failed {0}")]
SerializationFailed(String),
}

/// Exports is a special kind of map that allows easily unwrapping
Expand Down

0 comments on commit 006fd49

Please sign in to comment.