Prevent error "cast discards const qualifier"

pull/2/head
Roman Frołow 3 years ago committed by GitHub
parent be279c78f5
commit 204146261c

@ -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