Auto merge of #14502 - servo:filter-map, r=frewsxcv
Auto merge of #14502 - servo:filter-map, r=frewsxcv

Replace an unidiomatic use of filter_map().

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14502)
<!-- Reviewable:end -->

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