Heart rate with swimming now works?

I just noticed that, for the first time, my swim has recorded my heart rate. That's nice, but I didn't know it did.