| author | |
| committer | |
| log | 5311916928ac627b86549099ac76f82f151fb662 |
| tree | 488b87bee39a4358a278278015abc5ab29119da7 |
| parent | 3f04231600e7ec2e16f5fb33f2e81eea24bdc41b |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
doc/langref.html.in+1-1| ... | @@ -10267,7 +10267,7 @@ pub fn main() void { | ... | @@ -10267,7 +10267,7 @@ pub fn main() void { |
| 10267 | foo(Set1.B); | 10267 | foo(Set1.B); |
| 10268 | } | 10268 | } |
| 10269 | fn foo(set1: Set1) void { | 10269 | fn foo(set1: Set1) void { |
| 10270 | const x = @as(Set2, @errSetCast(set1)); | 10270 | const x: Set2 = @errSetCast(set1); |
| 10271 | std.debug.print("value: {}\n", .{x}); | 10271 | std.debug.print("value: {}\n", .{x}); |
| 10272 | } | 10272 | } |
| 10273 | {#code_end#} | 10273 | {#code_end#} |