pub const fn panic_on_zero(n: usize)
Ensures that the provided capacity is greater than zero.
Panics if n == 0, since zero‑length strings are not supported.
n == 0