How to merge two unconnected edges into a single one
Maybe this is a little faster ... hmmm
But you will have to turn on the addon called "F2"


Select the 2 edges.
Hit F, connects the 2 mesh and gives you 2 original edges.
Select the extra edge you didn't need. Hit X dissolve the edge.