DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+8 =
Submit