Просмотр исходного кода

fixed language changes in @typeInfo

Chris Boesch 1 год назад
Родитель
Сommit
36d8170d7c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      exercises/065_builtins2.zig

+ 2 - 2
exercises/065_builtins2.zig

@@ -24,9 +24,9 @@
 // Returns the innermost struct, enum, or union that a function
 // call is inside.
 //
-// 2. @typeInfo(comptime T: type) @import("std").builtin.TypeInfo
+// 2. @typeInfo(comptime T: type) @import("std").builtin.Type
 //
-// Returns information about any type in a TypeInfo union which
+// Returns information about any type in a data structure which
 // will contain different information depending on which type
 // you're examining.
 //