diff options
Diffstat (limited to 'ops/optimizer_tests/op_state_with_transforms.out')
-rw-r--r-- | ops/optimizer_tests/op_state_with_transforms.out | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ops/optimizer_tests/op_state_with_transforms.out b/ops/optimizer_tests/op_state_with_transforms.out index 541a4fd36..b2ded3c5a 100644 --- a/ops/optimizer_tests/op_state_with_transforms.out +++ b/ops/optimizer_tests/op_state_with_transforms.out @@ -142,13 +142,7 @@ where as *const _ops::OpCtx) }; let state = &mut ::std::cell::RefCell::borrow_mut(&__ctx.state); - let buf = match unsafe { &*buf }.get_storage_if_aligned() { - Some(v) => v, - None => { - unsafe { &mut *fast_api_callback_options }.fallback = true; - return Default::default(); - } - }; + let buf = unsafe { (&*buf).get_storage_if_aligned().unwrap_unchecked() }; let result = op_now::call::<TP>(state, buf); result } |