Questions tagged [growable]

A variable-size list data structure to which elements can be added or removed. This tag may specifically pertain to the Growable data structure in Rust.

A variable-size list data structure to which elements can be added or removed. This tag may specifically pertain to the Growable data structure in Rust.

2 questions
4
votes
1 answer

What is the difference between "growable" and "mutable" in a Rust string?

I'm reading The Rust Programming Language. The docs define a String as "growable": A UTF-8 encoded, growable string. I've found that growable is not the same as mutable, but they don't really explain what makes a type "growable". Given this let…
Armeen Moon
  • 18,061
  • 35
  • 120
  • 233
0
votes
0 answers

how to add all list items to each items of another list without 'concurrent modification' exception

I am trying to add a list of items to another list of item. Both list are of different types. The items are instance of 2 different classes (String , Group). Where Group contains a list of String (members) and a method to add members to the Group.…
Swarup
  • 75
  • 7