summaryrefslogtreecommitdiff
path: root/engine/src/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/util.rs')
-rw-r--r--engine/src/util.rs2
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()));
}
}
};