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 4bd737d506

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.