79568208

Date: 2025-04-11 07:14:54
Score: 1
Natty:
Report link

If you know the length of the vector, you can also use [T;N]'s TryFrom<Vec<T>> implementation.

let (name, score) = <[(String, i32); 1]>::try_from(items).unwrap();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cyrill