diff options
| author | yrp <yrp604@protonmail.com> | 2021-04-25 11:08:18 -0700 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2021-04-25 14:11:59 -0400 |
| commit | c75bb739f808106cb72d28d92b03d8823c23b9d6 (patch) | |
| tree | 7b41e9c62ff20ece47b1742b90f8932a650286ca /rust/src/binaryview.rs | |
| parent | 10baa8ff1207a4f37d9657973603413336d38c12 (diff) | |
rust: fix missing return type
Diffstat (limited to 'rust/src/binaryview.rs')
| -rw-r--r-- | rust/src/binaryview.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index c5df4f61..aa5fb3f3 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -377,7 +377,7 @@ pub trait BinaryViewExt: BinaryViewBase { sym: &Symbol, plat: &Platform, ty: T, - ) { + ) -> Result<Ref<Symbol>> { let raw_type = if let Some(t) = ty.into() { t.handle } else { |
