Historical Rules · 25 August 2017
Rule 702.120a
Official source text from the 25 August 2017 Rules release
Melee is a triggered ability. “Melee” means “Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.”