It could be foreshadowing. I don't know the context of this but it would make sense to be foreshadowing depending on the rest of the story. It could also be characterization, if the detail helped develop Anne's character, making Anne seem more realistic. Again I don't know the context but it could be either of these options