Function pimsync::config::flatten_single_vec

source ยท
fn flatten_single_vec<T>(vec: Vec<T>) -> Option<T>
Expand description

Flatten a Vec which is expected to have a single item.