Merge pull request #54 from rofrol/patch-2

Prevent error "cast discards const qualifier"
pull/2/head
Dave Gauer 3 years ago committed by GitHub
commit 4bd737d506

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

Loading…
Cancel
Save