The Rust codes in Chapter 4.1 Array and Chapter 4.3 List both use vector instead of array. Like the approaches of other languages like C++ and Java, the code in Chapter 4.1 Array should use array to differentiate the concept of array and list.
For example, in Chapter 4.1.1 Initializing Arrays,
The Rust codes in Chapter 4.1 Array and Chapter 4.3 List both use vector instead of array. Like the approaches of other languages like C++ and Java, the code in Chapter 4.1 Array should use array to differentiate the concept of array and list.
For example, in Chapter 4.1.1 Initializing Arrays,
instead of