I don’t remember that particular recipe.
I do remember you could make salt out of the salt water.
Swamp incidentally contains both fresh water AND salt water sources, so the way I see it, if the recipe even does exist, it’s of fairly marginal use, and there are easier ways to get fresh water, even at swamp… especially at swamp.