mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
ex51 fixed wording
This commit is contained in:
parent
14199cfdca
commit
3211f2d5cb
1 changed files with 4 additions and 4 deletions
|
@ -10,10 +10,10 @@
|
||||||
//
|
//
|
||||||
// Ah, that's better. Now we can look at some familiar Zig code.
|
// Ah, that's better. Now we can look at some familiar Zig code.
|
||||||
//
|
//
|
||||||
// @import() adds the imported code to your own. In this case,
|
// @import() adds the imported code to your own. In this case, code
|
||||||
// compiled code from the standard library is added to your program.
|
// from the standard library is added to your program and compiled
|
||||||
// It is loaded into RAM with the code you write when it runs. And
|
// with it. All of this will be loaded into RAM when it runs. Oh, and
|
||||||
// that thing we give a const name? That's a struct!
|
// that thing we name "const std"? That's a struct!
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue