Why does `Option::map` work with immutable data, but not with mutable data
Why does the immutable version in the following example work, but the mutable version does not compile with error error: lifetime may not live long enough
?
Why does `Option::map` work with immutable data, but don’t with mutable data
Why does the immutable version in the following example work, but the mutable version does not compile with error error: lifetime may not live long enough
?