In this rule

Historical Rules · 1 July 2012

Rule 702.18c

Official source text from the 1 July 2012 Rules release

If an attacking creature with trample is blocked, but there are no creatures blocking it when damage is assigned, all its damage is assigned to the player or planeswalker it's attacking.

Find this number in the current Rules