Auto merge of #8926 - frewsxcv:no-map, r=SimonSapin
Auto merge of #8926 - frewsxcv:no-map, r=SimonSapin

Prefer 'if let' over 'map() with side effects'

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8926)
<!-- Reviewable:end -->

avadacatavra/servo,DominoTree/servo,steveklabnik/servo,larsbergstrom/servo,KiChjang/servo,ConnorGBrewster/servo,splav/servo,eddyb/servo,emilio/servo,peterjoel/servo,saneyuki/servo,eddyb/servo,upsuper/servo,upsuper/servo,emilio/servo,nnethercote/servo,upsuper/servo,rnestler/servo,szeged/servo,dsandeephegde/servo,cbrewster/servo,SimonSapin/servo,KiChjang/servo,pyfisch/servo,mattnenterprise/servo,canaltinova/servo,saneyuki/servo,notriddle/servo,larsbergstrom/servo,CJ8664/servo,CJ8664/servo,steveklabnik/servo,peterjoel/servo,KiChjang/servo,anthgur/servo,upsuper/servo,saneyuki/servo,KiChjang/servo,nnethercote/servo,nnethercote/servo,mbrubeck/servo,mattnenterprise/servo,saneyuki/servo,CJ8664/servo,CJ8664/servo,sadmansk/servo,SimonSapin/servo,steveklabnik/servo,mbrubeck/servo,jimberlage/servo,szeged/servo,larsbergstrom/servo,emilio/servo,DominoTree/servo,szeged/servo,fiji-flo/servo,jimberlage/servo,fiji-flo/servo,cbrewster/servo,thiagopnts/servo,saneyuki/servo,jimberlage/servo,splav/servo,anthgur/servo,anthgur/servo,paulrouget/servo,szeged/servo,emilio/servo,emilio/servo,notriddle/servo,fiji-flo/servo,splav/servo,jimberlage/servo,peterjoel/servo,mbrubeck/servo,szeged/servo,jimberlage/servo,jimberlage/servo,paulrouget/servo,nrc/servo,avadacatavra/servo,larsbergstrom/servo,nnethercote/servo,szeged/servo,peterjoel/servo,CJ8664/servo,ConnorGBrewster/servo,emilio/servo,paulrouget/servo,upsuper/servo,nrc/servo,cbrewster/servo,KiChjang/servo,steveklabnik/servo,rnestler/servo,paulrouget/servo,thiagopnts/servo,dati91/servo,rnestler/servo,mattnenterprise/servo,pyfisch/servo,sadmansk/servo,notriddle/servo,canaltinova/servo,rnestler/servo,mattnenterprise/servo,dati91/servo,peterjoel/servo,emilio/servo,avadacatavra/servo,avadacatavra/servo,canaltinova/servo,ConnorGBrewster/servo,mbrubeck/servo,ConnorGBrewster/servo,dati91/servo,dati91/servo,DominoTree/servo,pyfisch/servo,nnethercote/servo,nnethercote/servo,emilio/servo,fiji-flo/servo,splav/servo,sadmansk/servo,cbrewster/servo,szeged/servo,anthgur/servo,larsbergstrom/servo,DominoTree/servo,splav/servo,sadmansk/servo,notriddle/servo,fiji-flo/servo,jimberlage/servo,eddyb/servo,pyfisch/servo,nnethercote/servo,canaltinova/servo,SimonSapin/servo,larsbergstrom/servo,dsandeephegde/servo,KiChjang/servo,larsbergstrom/servo,thiagopnts/servo,nrc/servo,SimonSapin/servo,dsandeephegde/servo,rnestler/servo,larsbergstrom/servo,peterjoel/servo,paulrouget/servo,avadacatavra/servo,DominoTree/servo,ConnorGBrewster/servo,SimonSapin/servo,ConnorGBrewster/servo,paulrouget/servo,DominoTree/servo,jimberlage/servo,avadacatavra/servo,thiagopnts/servo,dsandeephegde/servo,KiChjang/servo,nnethercote/servo,fiji-flo/servo,mattnenterprise/servo,mbrubeck/servo,steveklabnik/servo,CJ8664/servo,steveklabnik/servo,dati91/servo,saneyuki/servo,pyfisch/servo,pyfisch/servo,splav/servo,mattnenterprise/servo,saneyuki/servo,KiChjang/servo,notriddle/servo,szeged/servo,canaltinova/servo,pyfisch/servo,DominoTree/servo,mattnenterprise/servo,dsandeephegde/servo,canaltinova/servo,SimonSapin/servo,cbrewster/servo,cbrewster/servo,nrc/servo,anthgur/servo,peterjoel/servo,paulrouget/servo,CJ8664/servo,rnestler/servo,mbrubeck/servo,saneyuki/servo,sadmansk/servo,canaltinova/servo,nnethercote/servo,anthgur/servo,mbrubeck/servo,saneyuki/servo,thiagopnts/servo,avadacatavra/servo,szeged/servo,DominoTree/servo,canaltinova/servo,fiji-flo/servo,notriddle/servo,sadmansk/servo,splav/servo,upsuper/servo,KiChjang/servo,nrc/servo,paulrouget/servo,nrc/servo,saneyuki/servo,paulrouget/servo,peterjoel/servo,avadacatavra/servo,notriddle/servo,paulrouget/servo,eddyb/servo,pyfisch/servo,dsandeephegde/servo,upsuper/servo,thiagopnts/servo,rnestler/servo,dati91/servo,cbrewster/servo,nnethercote/servo,SimonSapin/servo,anthgur/servo,cbrewster/servo,CJ8664/servo,eddyb/servo,steveklabnik/servo,dati91/servo,eddyb/servo,szeged/servo,sadmansk/servo,DominoTree/servo,dati91/servo,peterjoel/servo,rnestler/servo,eddyb/servo,pyfisch/servo,emilio/servo,mbrubeck/servo,eddyb/servo,ConnorGBrewster/servo,thiagopnts/servo,nrc/servo,pyfisch/servo,sadmansk/servo,fiji-flo/servo,SimonSapin/servo,mattnenterprise/servo,emilio/servo,splav/servo,notriddle/servo,splav/servo,notriddle/servo,larsbergstrom/servo,jimberlage/servo,dsandeephegde/servo,splav/servo,ConnorGBrewster/servo,KiChjang/servo,notriddle/servo,anthgur/servo,larsbergstrom/servo,peterjoel/servo,DominoTree/servo,thiagopnts/servo,dsandeephegde/servo,upsuper/servo