1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-05 01:56:03 +02:00

Fix exercises 058 and 081 🔧

This commit is contained in:
Georgy Trush 2021-09-04 19:00:03 +03:00
parent 497336777a
commit ad8de595a4
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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,
});
}