A female swimmer is celebrating after winning a race.