diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-02-10 21:47:21 -0500 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-02-10 21:47:21 -0500 |
commit | 7310242ef0d72936ecbfb19014ada896f1b57f2a (patch) | |
tree | d3c730e271140af680bdd0295d99a56194aebc13 /exercises/02_std.zig | |
parent | 5b47e8ebe6cee0b89dbfe5a2ee413f83d3b7e4e0 (diff) | |
parent | f1f56fd829af5b8818a598d2eeb88d8b28f8d338 (diff) | |
download | ziglings-7310242ef0d72936ecbfb19014ada896f1b57f2a.tar.gz ziglings-7310242ef0d72936ecbfb19014ada896f1b57f2a.tar.bz2 ziglings-7310242ef0d72936ecbfb19014ada896f1b57f2a.tar.xz ziglings-7310242ef0d72936ecbfb19014ada896f1b57f2a.zip |
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/02_std.zig')
-rw-r--r-- | exercises/02_std.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/exercises/02_std.zig b/exercises/02_std.zig index dcc1b87..50059e1 100644 --- a/exercises/02_std.zig +++ b/exercises/02_std.zig @@ -17,8 +17,8 @@ pub fn main() void { std.debug.print("Standard Library.\n", .{}); } -// Going deeper: imports must be declared as "constants" (with the 'const' -// keyword rather than "variables" (with the 'var' keyword) is that they -// can only be used at "compile time" rather than "run time". Zig evaluates -// const values at compile time. Don't worry if none of this makes sense -// yet! See also this answer: https://stackoverflow.com/a/62567550/695615 +// For the curious: Imports must be declared as constants because they +// can only be used at compile time rather than run time. Zig evaluates +// constant values at compile time. Don't worry, we'll cover imports +// in detail later. +// See also this answer: https://stackoverflow.com/a/62567550/695615 |