Replaced ~[] use with Vec<> and removed warning suppression.