diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-18 11:16:09 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-18 11:16:09 +0100 |
| commit | 6f917d1f58c7b87502e1c94cfff2a4badbb80287 (patch) | |
| tree | e73cd1f772180eead380a658d83655de59b1d64f /lib/xixanta/src/object.rs | |
| parent | 03dae41b2ec20905af780bbcf5c033f683f19efb (diff) | |
| download | tools.nes-6f917d1f58c7b87502e1c94cfff2a4badbb80287.tar.gz tools.nes-6f917d1f58c7b87502e1c94cfff2a4badbb80287.zip | |
Remove unneeded Ok call
Fixes: 03dae41b2ec2 ("Prevent addresses which are out of bounds")
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/object.rs')
| -rw-r--r-- | lib/xixanta/src/object.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xixanta/src/object.rs b/lib/xixanta/src/object.rs index f319fe3..3d0c9e7 100644 --- a/lib/xixanta/src/object.rs +++ b/lib/xixanta/src/object.rs @@ -375,7 +375,7 @@ impl Context { // Everything should be fine from here on, simply return the bundle that // was being referenced. - Ok(self.resolve_label(mappings, &labels[idx as usize])?) + self.resolve_label(mappings, &labels[idx as usize]) } // Pushes a new context given a `node`, which holds the identifier of the |
