use std::collections::{hash_map::Entry, HashMap}; fn compute(cache: &mut HashMap<u32, u32>) { if let Entry::Vacant(_entry) = cache.entry(42) ...
確定! 回上一頁