Not so. She broke a record for a female-only-pacer marathon time. The women's world record was much, much faster.
However, because marathon are often mixed gender and the best male runners are significantly faster than the best female runners, it is possible for a woman to be paced from the gun to the tape by a male runner. For this reason, there are separate records for the women's marathon for women's only events.
[0] This is one of the things that made Kipchoge's original sub 2 result not record-eligible.
She broke the thing that the IAAF have gone back and forth on calling "the world record". It's the relevant record for this event - there was no more chance of her beating the man-paced record than of beating the men's record or the Le Mans lap record.