Skip to content

Commit

Permalink
Specify result type
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Dec 8, 2023
1 parent 854aea0 commit d975fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/message/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl ArrowTypeInfo {
let offset = usize::try_from(unsafe { ptr.offset_from(region_start) })
.context("offset_from is negative")?;

Ok(BufferOffset {
Result::<_, eyre::Report>::Ok(BufferOffset {
offset,
len: b.len(),
})
Expand Down

0 comments on commit d975fc1

Please sign in to comment.