
Basically anyone who has long term contracts for their inputs but short term or spot markets for their products benefits from inflation. If you just signed a 5 year contract with your union with 3% per year pay raises and your workforce accounts for most of your cost, but you sell the product those workers make into a spot market, then if inflation takes off your costs only rise at 3% while your profits rise at whatever inflation is. Of course this only works if it doesn't go too far out of whack and everyone just quits to go work for someone paying market.
That said, if you really believe inflation will take off just short treasuries, because they strongly disagree. Either everyone who buys a treasury is dumb money, or the guys screaming about inflation are, you have to decide which.
Take a look at what a TIPS is doing for you right now though, they're all giving negative yield. Short dated TIPS are giving you -5% negative yield!In my opinion, the best match for investors worried about inflation are Treasury inflation-protected securities, or TIPS. These securities carry a similar risk as other fixed income investments, but they add an adjusted principal amount if inflation increases.
Other hedges to inflation include investing in real estate, gold and even cryptocurrencies. Real estate performs well because landlords and property owners see the values of their properties increase. Also landlords can somewhat easily pass-through rent increases.
You can also pay attention to cryptocurrencies, however remember that this way of investing is full of risks and set the amount of investments in crypto for about 3-5%.