Skip to content

Commit

Permalink
addressed pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jul 19, 2023
1 parent 0c96fa1 commit e942b0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/re_types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,10 @@ trait ResultExt<T> {

impl<T> ResultExt<T> for SerializationResult<T> {
fn detailed_unwrap(self) -> T {
fn find_backtrace(_err: &SerializationError) -> Option<_Backtrace> {
None
fn find_backtrace(err: &SerializationError) -> Option<_Backtrace> {
match err {
SerializationError::Context { .. } => None,
}
}

match self {
Expand Down

0 comments on commit e942b0b

Please sign in to comment.