Open uint opened 11 months ago
E.g. if we have a map: Map<String, _>, it would be nice to be able to access values using something like self.map.get(&mut storage, "mykey"), without the extra allocation/cloning.
map: Map<String, _>
self.map.get(&mut storage, "mykey")
@hashedone originally asked to investigate this.
E.g. if we have a
map: Map<String, _>
, it would be nice to be able to access values using something likeself.map.get(&mut storage, "mykey")
, without the extra allocation/cloning.@hashedone originally asked to investigate this.