Commit 0b92d689d0

Andrew Kelley <superjoe30@gmail.com>
2018-06-19 18:16:59
update langref
1 parent 85422d7
Changed files (1)
doc/langref.html.in
@@ -5688,10 +5688,17 @@ pub const TypeInfo = union(TypeId) {
     };
 
     pub const Pointer = struct {
+        size: Size,
         is_const: bool,
         is_volatile: bool,
         alignment: u32,
         child: type,
+
+        pub const Size = enum {
+            One,
+            Many,
+            Slice,
+        };
     };
 
     pub const Array = struct {