summaryrefslogtreecommitdiffhomepage
path: root/reason.html.markdown
diff options
context:
space:
mode:
authorMichael Rashkovsky <mrashkovsky@gmail.com>2019-11-15 22:53:36 -0500
committerGitHub <noreply@github.com>2019-11-15 22:53:36 -0500
commit74387bab7d25ef3927a1c377ded44972c5ad4b36 (patch)
tree5017175bcbb75c128a233339cf1184e5bf0e7c48 /reason.html.markdown
parent50f77dd0d011500b9bc7aa995257562936a749c6 (diff)
fix typo
the type of secondTrip should be Trips.trainJourney, not Trips.firstTrip. trainJourney is a proper type, whereas firstTrip is a variable
Diffstat (limited to 'reason.html.markdown')
-rw-r--r--reason.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/reason.html.markdown b/reason.html.markdown
index 62d809cf..b8a2215d 100644
--- a/reason.html.markdown
+++ b/reason.html.markdown
@@ -162,7 +162,7 @@ let maxPassengers = firstTrip.capacity;
/* If you define the record type in a different file, you have to reference the
filename, if trainJourney was in a file called Trips.re */
-let secondTrip: Trips.firstTrip = {
+let secondTrip: Trips.trainJourney = {
destination: "Paris",
capacity: 50,
averageSpeed: 150.0,