diff options
| author | HampusM <hampus@hampusmat.com> | 2026-09-24 20:29:27 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-09-27 19:20:44 +0200 |
| commit | 749303f2bab1b2b374f7b837cc75acf65067699e (patch) | |
| tree | 47f0d7ef6ecffe9d6107d02b508347a2ffdabcf5 /engine/src/util.rs | |
| parent | 9adf24618a943bab4ce39267760d3a5348519fb2 (diff) | |
refactor(engine): update to version 0.18.0 dear-imgui-rs & dear-imguizmo
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 61a8613..fc4c1c8 100644 --- a/engine/src/util.rs +++ b/engine/src/util.rs @@ -9,7 +9,7 @@ pub trait OptionExt<T> /// See <https://github.com/rust-lang/rust/issues/143648> fn get_or_try_insert_with_fn<Err>( &mut self, - func: impl Fn() -> Result<T, Err>, + func: impl FnOnce() -> Result<T, Err>, ) -> Result<&mut T, Err>; } |
