--- id: p65ysa date: 2026-02-13T13:24:54+0300 languages: [en] aliases: reviews: tags: - draft - knowledge - snippet - rust --- # Initialize large array in Rust (non-Copy object) To initialize such array you can use inline const: ```rust let variable = [const { Object { ... } }; HUGE_SIZE]; ``` ## Up -