aboutsummaryrefslogtreecommitdiff
path: root/doc/langref/test_pointer_casting.zig
diff options
context:
space:
mode:
Diffstat (limited to 'doc/langref/test_pointer_casting.zig')
-rw-r--r--doc/langref/test_pointer_casting.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref/test_pointer_casting.zig b/doc/langref/test_pointer_casting.zig
index 59c4a0a796..359d1dc838 100644
--- a/doc/langref/test_pointer_casting.zig
+++ b/doc/langref/test_pointer_casting.zig
@@ -17,7 +17,7 @@ test "pointer casting" {
test "pointer child type" {
// pointer types have a `child` field which tells you the type they point to.
- try expect(@typeInfo(*u32).Pointer.child == u32);
+ try expect(@typeInfo(*u32).pointer.child == u32);
}
// test