deklarieren Sie ein Array mit Signle Value Rost
fn main() {
let numbers: [u32; 5] = [0; 5];
println!("{:?}", numbers); // returns [0, 0, 0, 0, 0]
}
Ahmad Khaefi
fn main() {
let numbers: [u32; 5] = [0; 5];
println!("{:?}", numbers); // returns [0, 0, 0, 0, 0]
}