221V 1 неделя назад
Родитель
Сommit
f3568f79f2
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      exercises/002_std.zig

+ 4 - 3
exercises/002_std.zig

@@ -11,10 +11,10 @@
 // Please complete the import below:
 //
 
-??? = @import("std");
+const std = @import("std");
 
-pub fn main() void {
-    std.debug.print("Standard Library.\n", .{});
+pub fn main() void{
+  std.debug.print("Standard Library.\n", .{});
 }
 
 // For the curious: Imports must be declared as constants because they
@@ -22,3 +22,4 @@ pub fn main() void {
 // constant values at compile time. Don't worry, we'll cover imports
 // in detail later.
 // Also see this answer: https://stackoverflow.com/a/62567550/695615
+