I drank my best friends breast milk

I 19m was out on a hike with my friend 20f (who has a 1 year old that she breastfeeds) when my blood sugar became dangerously low. I knew i was gunna pass out because i’m prone to it, and we had no food on us to stabilize my levels because we didn’t want to attract animals, plus I haven’t fainted in a while so I wasn’t worried about it. My friend essentially breastfed me for like a minute to keep me from passing out so we could hike back to the car.