rust-embedded/heapless

Dropping a reference in linear_map

rust1248 opened this issue · 1 comments

This code drops a reference, that does nothing. https://github.com/japaric/heapless/blame/644653bf3b831c6bb4963be2de24804acf5e5001/src/linear_map.rs#L467

There is a rust warning on this in later versions (I checked on rustc 1.72)

newAM commented

Fixed in #388