This commit is contained in:
Jonathan Halmen 2021-11-05 17:37:12 +01:00
parent 88886a37d9
commit f6de68a1f2
10 changed files with 20 additions and 20 deletions

View file

@ -61,10 +61,10 @@ const Schooner = struct {
}
};
pub fn main() void {
var whale = Schooner {.name = "Whale"};
var shark = Schooner {.name = "Shark"};
var minnow = Schooner {.name = "Minnow"};
pub fn main() void {
var whale = Schooner{ .name = "Whale" };
var shark = Schooner{ .name = "Shark" };
var minnow = Schooner{ .name = "Minnow" };
// Hey, we can't just pass this runtime variable as an
// argument to the scaleMe() method. What would let us do