This is what a shaggy inkcap, also known as the lawyer’s wig fungus, looks like when it has only recently emerged.
As it sheds its spores, the cap of the mushroom appears to eat itself from the rim inwards. This one is well on the way.
This grouping show more advanced stages in the process.
Finally, the cap is reduced to a blackened rim around the stem.