untrusted
untrusted copied to clipboard
Add `Input::first()` analogous to `slice::first()`
trafficstars
Instead of having people use as_slice_less_safe() as in input.as_slice_less_safe().first().ok_or(...)?, or having them go throw Reader, let them write input.first().ok_or(...)?.