Skip to content

Commit

Permalink
fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
rdfriese committed Nov 13, 2024
1 parent 74e7360 commit 19802e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array/operations/shift.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ pub trait ShiftOps<T: ElementShiftOps>: private::LamellarArrayPrivate<T> {
/// let array = UnsafeArray::<usize>::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<T: ElementShiftOps>: private::LamellarArrayPrivate<T> {
/// This call performs an in place left shift of `val` bits on the element specified by `index`.
Expand Down

0 comments on commit 19802e7

Please sign in to comment.