In this rule

Historical Rules · 10 August 2018

Rule 508.7a

Official source text from the 10 August 2018 Rules release

Permalink

The attacking creature isn’t removed from combat and it isn’t considered to have attacked a second time. That creature is attacking the reselected player or planeswalker, but it’s still considered to have attacked the player or planeswalker chosen as it was declared as an attacker.

Find this number in the current Rules