Lines Matching defs:append
2571 c.append(&mut d);
2580 c.append(&mut d);
2931 a.extend(b); // specializes to `append`
6667 v.extend(w.clone()); // specializes to `append`
7395 vec.append(&mut vec2);
8227 v.append(&mut vec![27, 19]);
8836 // This should clone&append one Panic{..} at the end, and then panic while
12136 // normal append
12137 a.append(&mut b);
12141 // append nothing to something
12142 a.append(&mut b);
12146 // append something to nothing
12147 b.append(&mut a);
12180 // and the one getting appended are generated to check `append`.
12181 // This ensures all 6 code paths of `append` are tested.
12215 dst.append(&mut src);
12247 a.append(&mut b);
13635 a.append(&mut b);
13646 a.append(&mut b);
16248 /// You can append a [`char`] to a `String` with the [`push`] method, and
16249 /// append a [`&str`] with the [`push_str`] method:
16413 /// At first, we have no memory allocated at all, but as we append to the
18233 /// If you want to keep using the first `String`, you can clone it and append to the clone instead:
27359 /// list1.append(&mut list2);
27370 pub fn append(&mut self, other: &mut Self) {
28632 self.append(other);
28818 m.append(&mut n);
28828 m.append(&mut n);
28840 m.append(&mut n);
28852 m.append(&mut n);
30769 /// a.append(&mut b);
30781 pub fn append(&mut self, other: &mut Self)
30785 // Do we have to append anything at all?
33054 /// a.append(&mut b);
33066 pub fn append(&mut self, other: &mut Self)
33070 self.map.append(&mut other.map);
34263 mod append;
34936 a.append(&mut b);
37456 a.append(&mut b);
37506 left.insert(b.spawn(Panic::InDrop), ()); // first duplicate key, dropped during append
37511 catch_unwind(move || left.append(&mut right)).unwrap_err();
37531 map1.append(&mut map2);
40423 /// the queue, and [`pop_front`] to remove from the queue. [`extend`] and [`append`]
40436 /// [`append`]: VecDeque::append
42383 /// buf.append(&mut buf2);
42388 #[stable(feature = "append", since = "1.4.0")]
42389 pub fn append(&mut self, other: &mut Self) {
44073 dst.append(&mut src);
44985 /// a.append(&mut b);
44991 pub fn append(&mut self, other: &mut Self) {
44998 self.data.append(&mut other.data);
45816 self.append(other);
48487 /// vec.append(&mut vec2);
48492 #[stable(feature = "append", since = "1.4.0")]
48493 pub fn append(&mut self, other: &mut Self) {
48800 /// optimization purposes. If you need to append data to a `Vec`
48802 /// [`extend_from_within`], [`insert`], [`append`], [`resize`] or
48810 /// [`append`]: Vec::append
49427 /// append the entire slice at once.