Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust initialize empty array

let my_empty_array: [i32; 4] = [0; 4];	// The value you put instead of the type will fill your array
Source by www.joshmcguigan.com #
 
PREVIOUS NEXT
Tagged: #rust #initialize #empty #array
ADD COMMENT
Topic
Name
3+4 =