Skip to content

Commit b35a51b

Browse files
Emulating lifetime parameters usage in map.
1 parent e4075bb commit b35a51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ impl<A, S, D> ArrayBase<S, D> where S: Data<Elem=A>, D: Dimension
17011701
///
17021702
/// Return an array with the same shape as `self`.
17031703
pub fn map_mut<'a, B, F>(&'a mut self, f: F) -> Array<B, D>
1704-
where F: FnMut(&mut A) -> B,
1704+
where F: FnMut(&'a mut A) -> B,
17051705
A: 'a,
17061706
S: DataMut
17071707
{

0 commit comments

Comments
 (0)