adambard/learnxinyminutes-docs

Zig no longer has ** repetition operator

Chiusa

#5574 aperta il 29 lug 2026

 (0 commenti) (0 reazioni) (0 assegnatari)Markdown (3668 fork)batch import
help wanted

Metriche repository

Star
 (12.335 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Lines 117, 122, & 813 of zig.md contain the ** comptime repetition operator which is no longer in the Zig language. Array initialization can be done with builtin @splat function, other builtin functions, or custom comptime code

Guida contributor