1
0
Fork 0
mirror of https://codeberg.org/ziglings/exercises.git synced 2025-06-08 01:57:02 +09:00

Fixed the changes from reworking std.Progress.

For details: https://github.com/ziglang/zig/pull/20059
This commit is contained in:
Chris Boesch 2024-05-29 21:20:28 +02:00
parent 776316e60b
commit b224ed510e
No known key found for this signature in database
GPG key ID: 8712DF4D3E364668
3 changed files with 11 additions and 10 deletions

View file

@ -150,7 +150,7 @@ const CheckNamedStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *CheckNamedStep = @alignCast(@fieldParentPtr("step", step));
const ex = self.exercise;
@ -202,7 +202,7 @@ const CheckStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *CheckStep = @alignCast(@fieldParentPtr("step", step));
const exercises = self.exercises;
@ -325,7 +325,7 @@ const FailStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *FailStep = @alignCast(@fieldParentPtr("step", step));
@ -368,7 +368,7 @@ const HealStep = struct {
return self;
}
fn make(step: *Step, _: *std.Progress.Node) !void {
fn make(step: *Step, _: std.Progress.Node) !void {
const b = step.owner;
const self: *HealStep = @alignCast(@fieldParentPtr("step", step));