One-way street

A girl who was just learning to drive went down a one-way street in the wrong direction, but didn’t break the law.

How come?