std.mem.asBytes: fix footgun when passing non-single pointer

I was just bitten by this footgun, where I actually wanted
`sliceAsBytes` but unintentionally used `asBytes`, which in practice
ignored all but the first element. Just add a comptime assertion to
trigger a compile error in this case.
24babde746mlugg committed on 10/31/2024, 8:42:53 PMparentd11bbde
1 file changedLine totals unavailable