~tieong/ziglings

cd2f9b8007ae4ff78a116e051aca5aa80b3affa9 — Dave Gauer 2 years ago 424f3e9 + f9e2da6
Merge pull request #72 from tensorush/my-branch

Fix exercises 058 and 081 :wrench:
2 files changed, 2 insertions(+), 2 deletions(-)

M exercises/058_quiz7.zig
M exercises/081_anonymous_structs2.zig
M exercises/058_quiz7.zig => exercises/058_quiz7.zig +1 -1
@@ 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 {

M exercises/081_anonymous_structs2.zig => exercises/081_anonymous_structs2.zig +1 -1
@@ 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,
    });
}