You are right. Both are correct, but they differ in their implications. "hurried to school" means that you went to school for the usual purpose of attending lessons at the school.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
You are right. Both are correct, but they differ in their implications. "hurried to school" means that you went to school for the usual purpose of attending lessons at the school. "hurried to the school" means that you went to the school building for whatever purpose.