does short rest recover spell slots

AMBIL SEKARANG

The New 2024 Warlock: DnD 5e Class Changes | D&D Rules

To cast one of your warlock spells of 1st level or higher, you must expend a spell slot. You regain all expended spell slots when you finish a short or long rest.

5e spells regained from short rest? : r/dndnext

But then, why would you short rest if you don't need to recover spell slots if you have tons of food items that can heal HP and potions to boot?

Things You Didn’t Know About D&D 5e: Preparing Spells – Dungeon ...

You regain all expended spell slots when you finish a short or long rest.