diff options
author | HampusM <hampus@hampusmat.com> | 2024-05-10 21:05:02 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-05-12 12:12:58 +0200 |
commit | 476baa27e3c14751808b38daa018612cf860555e (patch) | |
tree | 9bc56c81ba805e50e468f3d4fb2966331a6e8d38 /engine/src/util.rs | |
parent | b0a3506054a1afd7c6c5554d653753fab6411203 (diff) |
fix(engine): check Wavefront obj statement argument counts
Diffstat (limited to 'engine/src/util.rs')
-rw-r--r-- | engine/src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/util.rs b/engine/src/util.rs index 021b2fe..b1a98ca 100644 --- a/engine/src/util.rs +++ b/engine/src/util.rs @@ -3,7 +3,7 @@ macro_rules! try_option { match $expr { Ok(value) => value, Err(err) => { - return Some(Err(err)); + return Some(Err(err.into())); } } }; |