1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-06-09 05:16:04 +02:00

Merge pull request #54 from rofrol/patch-2

Prevent error "cast discards const qualifier"
This commit is contained in:
Dave Gauer 2021-05-13 11:34:01 -04:00 committed by GitHub
commit 12361f9384
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@
// with the "dot syntax", the instance will be automatically
// passed as the "self" parameter:
//
// const my_bar = Bar{ .number = 2000 };
// var my_bar = Bar{ .number = 2000 };
// my_bar.printMe(); // prints "2000"
//
// Okay, you're armed.