remove deprecated vec::{is_empty, len} functions