For example, `vec.as_slice().first()` could be just worded as `vec.first()`. We'd probably want to have a whitelist for this, but in general, calling such methods is redundant. <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
For example,
vec.as_slice().first()could be just worded asvec.first().We'd probably want to have a whitelist for this, but in general, calling such methods is redundant.