Rafael Nadal made sure he'd remain as world number one after Wimbledon as he eased into the fourth round.