mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
commit
9c9671bb15
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ const Schooner = struct {
|
|||
mainmast_height: u32 = 95,
|
||||
|
||||
fn scaleMe(self: *Schooner, comptime scale: u32) void {
|
||||
var my_scale = scale;
|
||||
comptime var my_scale = scale;
|
||||
|
||||
// We did something neat here: we've anticipated the
|
||||
// possibility of accidentally attempting to create a
|
||||
|
|
Loading…
Reference in a new issue