diff options
author | Dave Gauer <ratfactor@gmail.com> | 2021-09-15 19:52:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 19:52:23 -0400 |
commit | 38755909b23f3f63c6fe613edf9895d0f97f9f1d (patch) | |
tree | af26b646dacb6074f580774bb8ff20945987971a | |
parent | 497336777a4253575d88b055a4f8fbfc2fae16e5 (diff) | |
parent | ad8de595a45c7882f4ddeaa6e1e1c5c7b65b0d3b (diff) | |
download | ziglings-38755909b23f3f63c6fe613edf9895d0f97f9f1d.tar.gz ziglings-38755909b23f3f63c6fe613edf9895d0f97f9f1d.tar.bz2 ziglings-38755909b23f3f63c6fe613edf9895d0f97f9f1d.tar.xz ziglings-38755909b23f3f63c6fe613edf9895d0f97f9f1d.zip |
Merge pull request #72 from tensorush/my-branch
Fix exercises 058 and 081 :wrench:
-rw-r--r-- | exercises/058_quiz7.zig | 2 | ||||
-rw-r--r-- | exercises/081_anonymous_structs2.zig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/058_quiz7.zig b/exercises/058_quiz7.zig index 7162078..d903e82 100644 --- a/exercises/058_quiz7.zig +++ b/exercises/058_quiz7.zig @@ -191,7 +191,7 @@ const TripItem = union(enum) { // The Hermit's Notebook is where all the magic happens. A notebook // entry is a Place discovered on the map along with the Path taken to // get there and the distance to reach it from the start point. If we -// find a better Path to reach a Place (lower distance), we update the +// find a better Path to reach a Place (shorter distance), we update the // entry. Entries also serve as a "todo" list which is how we keep // track of which paths to explore next. const NotebookEntry = struct { diff --git a/exercises/081_anonymous_structs2.zig b/exercises/081_anonymous_structs2.zig index 6871cc1..df78713 100644 --- a/exercises/081_anonymous_structs2.zig +++ b/exercises/081_anonymous_structs2.zig @@ -41,7 +41,7 @@ pub fn main() void { fn printCircle(???) void { print("x:{} y:{} radius:{}\n", .{ circle.center_x, - circle.centaur_y, + circle.center_y, circle.radius, }); } |