1 pub(crate) const EXPR_NONE: &str = "::std::option::Option::None"; 2 pub(crate) const EXPR_VEC_NEW: &str = "::std::vec::Vec::new()"; 3 expr_vec_with_capacity(capacity: &str) -> String4fn expr_vec_with_capacity(capacity: &str) -> String { 5 format!("::std::vec::Vec::with_capacity({})", capacity) 6 } 7 expr_vec_with_capacity_const(capacity: usize) -> String8pub(crate) fn expr_vec_with_capacity_const(capacity: usize) -> String { 9 expr_vec_with_capacity(&capacity.to_string()) 10 } 11