Home
last modified time | relevance | path

Searched refs:or_insert (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/clap/src/parser/
H A Darg_matcher.rs142 let ma = self.entry(id).or_insert(MatchedArg::new_arg(arg));
153 let ma = self.entry(id).or_insert(MatchedArg::new_group());
162 let ma = self.entry(id).or_insert(MatchedArg::new_external(cmd));
/third_party/rust/crates/clap/src/util/
H A Dflat_map.rs151 pub fn or_insert(self, default: V) -> &'a mut V { in or_insert() functions
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs29923 /// player_stats.entry("health").or_insert(100);
29930 /// let stat = player_stats.entry("attack").or_insert(100);
30902 /// *count.entry(x).or_insert(0) += 1;
35169 pub fn or_insert(self, default: V) -> &'a mut V { or_insert() functions
[all...]

Completed in 46 milliseconds