From 19802e763965b3e688bb1ba4ed47bc61dcd22059 Mon Sep 17 00:00:00 2001 From: "Ryan D. Friese" Date: Wed, 13 Nov 2024 09:40:16 -0800 Subject: [PATCH] fix doc test --- src/array/operations/shift.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/array/operations/shift.rs b/src/array/operations/shift.rs index afe5e99..78103d3 100644 --- a/src/array/operations/shift.rs +++ b/src/array/operations/shift.rs @@ -384,7 +384,7 @@ pub trait ShiftOps: private::LamellarArrayPrivate { /// let array = UnsafeArray::::new(&world,100,Distribution::Block).block(); /// /// let indices = vec![3,54,12,88,29,68]; -/// array.block_on(array.batch_fetch_shl(indices,2)); +/// unsafe {array.batch_fetch_shl(indices,2).block()}; ///``` pub trait UnsafeShiftOps: private::LamellarArrayPrivate { /// This call performs an in place left shift of `val` bits on the element specified by `index`.