3 ms·
There is the #[must_use] attribute for function return values, which throws compiler warnings when results are unused. It is not a real part of the type system
by paavohtl 5y ago
There is the #[must_use] attribute for function return values, which throws compiler warnings when results are unused. It is not a real part of the type system though, but it serves as a useful lint.