Home
last modified time | relevance | path

Searched refs:last_mut (Results 1 – 13 of 13) sorted by relevance

/third_party/rust/crates/clap/src/parser/matches/
Dmatched_arg.rs118 self.vals.last_mut().expect(INTERNAL_ERROR_MSG).push(val); in append_val()
120 .last_mut() in append_val()
/third_party/rust/crates/clap/src/util/
Dflat_map.rs157 entry.v.values.last_mut().unwrap() in or_insert()
168 entry.v.values.last_mut().unwrap() in or_insert_with()
/third_party/rust/crates/bindgen/bindgen/ir/
Dtemplate.rs319 let last = path.last_mut().unwrap(); in is_opaque()
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Dviews.rs133 .last_mut() in render()
/third_party/rust/crates/tracing/tracing-log/src/
Dinterest_cache.rs526 *target.last_mut().unwrap() = b'2'; in test_cache_handles_non_static_target_string()
/third_party/rust/crates/clap/src/builder/
Dstyled_str.rs86 if let Some((_, item)) = self.pieces.last_mut() { in trim_end()
/third_party/rust/crates/syn/src/
Dty.rs394 let arguments = &mut ty.path.segments.last_mut().unwrap().arguments; in ambig_ty()
858 path.segments.last_mut().unwrap().arguments = parenthesized; in parse()
Dpunctuated.rs101 pub fn last_mut(&mut self) -> Option<&mut T> { in last_mut() method
Dgenerics.rs878 path.segments.last_mut().unwrap().arguments = parenthesized; in parse()
Ditem.rs1446 let last = match args.last_mut()? { in pop_variadic()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs805 *result.last_mut().unwrap() = 6;
/third_party/rust/crates/regex/regex-syntax/src/ast/
Dparse.rs654 if let Some(&mut Alternation(ref mut alts)) = stack.last_mut() { in push_or_add_alternation()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs9423 assert_eq!(a.last_mut(), None);
9425 assert_eq!(*a.last_mut().unwrap(), 11);
9427 assert_eq!(*a.last_mut().unwrap(), 12);
10695 let h = x.last_mut();
10699 assert!(y.last_mut().is_none());