Browse Source

Specify result type

tags/v0.3.1-rc
Philipp Oppermann 2 years ago
parent
commit
d975fc1ea4
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libraries/message/src/lib.rs

+ 1
- 1
libraries/message/src/lib.rs View File

@@ -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(),
})


Loading…
Cancel
Save