From 548358ac34ccc72440efe2fa8071409d8bb90619 Mon Sep 17 00:00:00 2001 From: Mora Unie Youer Date: Fri, 13 Feb 2026 13:44:04 +0300 Subject: snapshot: 2026-02-13 --- p65ysa.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 p65ysa.md diff --git a/p65ysa.md b/p65ysa.md new file mode 100644 index 0000000..fe2c9b9 --- /dev/null +++ b/p65ysa.md @@ -0,0 +1,24 @@ +--- +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 +- -- cgit v1.2.3-70-g09d2