mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 11:20:46 -05:00
Prevent error "cast discards const qualifier"
This commit is contained in:
parent
be279c78f5
commit
204146261c
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue