3 ms·
After they introduced generics I immediately wrote a generic Must function that returns the thing or panics. There’s plenty of (pre generics) Must functions in
by dgb23 3y ago
After they introduced generics I immediately wrote a generic Must function that returns the thing or panics.
There’s plenty of (pre generics) Must functions in the std lib that fo this.