Ah cool, thanks for clarifying. That combined with another bug had me a bit stymied but I experimented a bit until I figured close to what you explained 
What sort of optimization is #rustlang doing here? If I pass a slice where the last element is the only Some(<T>) then the compiler seems to just eradicate the whole thing except for the first element...
Was scratching my head for a few hours on this.pic.twitter.com/qMc6zY6CCc
-
-
Tweet je nedostupan.
-
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.