Skip to content

Commit

Permalink
Changed DistanceUnit type to int in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
norbs57 committed Apr 30, 2022
1 parent bdb30da commit b231af3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion concepts/stringers/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Assume we are working on an application that deals with geographical distances m
We have defined types `DistanceUnit` and `Distance` as follows:

```go
type DistanceUnit string
type DistanceUnit int

const (
Kilometer DistanceUnit = 0
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/meteorology/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Assume we are working on an application that deals with geographical distances m
We have defined types `DistanceUnit` and `Distance` as follows:

```go
type DistanceUnit string
type DistanceUnit int

const (
Kilometer DistanceUnit = 0
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/meteorology/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
".meta/exemplar.go"
]
}
}
}

0 comments on commit b231af3

Please sign in to comment.