You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
let nums:[i32;5] = [1,2,3,4,5];
instead of
let nums:Vec<i32> = vec![1, 3, 2, 5, 4];
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: