File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11
11
#![ feature( assert_matches) ]
12
12
#![ feature( exit_status_error) ]
13
13
#![ feature( impl_trait_in_bindings) ]
14
+ #![ feature( let_chains) ]
14
15
15
16
pub mod actor_mesh;
16
17
pub mod alloc;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ use ndslice::Range;
23
23
use ndslice:: Selection ;
24
24
use ndslice:: Shape ;
25
25
use ndslice:: ShapeError ;
26
- use ndslice:: selection:: ReifyView ;
26
+ use ndslice:: selection:: ReifySlice ;
27
27
use serde:: Deserialize ;
28
28
use serde:: Serialize ;
29
29
@@ -166,7 +166,7 @@ impl<A: RemoteActor> ActorMeshRef<A> {
166
166
167
167
pub fn new_with_shape ( & self , new_shape : Shape ) -> anyhow:: Result < Self > {
168
168
let base_slice = self . shape ( ) . slice ( ) ;
169
- base_slice. reify_view ( new_shape. slice ( ) ) . map_err ( |e| {
169
+ base_slice. reify_slice ( new_shape. slice ( ) ) . map_err ( |e| {
170
170
anyhow:: anyhow!(
171
171
"failed to reify the new shape into the base shape; this \
172
172
normally means the new shape is not a valid slice of the base \
You can’t perform that action at this time.
0 commit comments