Skip to content

Commit

Permalink
Merge pull request twostraws#238 from fsalata/fix/typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
twostraws authored May 7, 2022
2 parents 42b09f5 + ccd142d commit 111e3a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Unwrap/Content/SixtySeconds/copying-objects.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</pre>

<p style="height: 0px; margin-bottom: 0px;"></p>
<p>If we create an instance of that class and prints its name, we’ll get “Taylor Swift”:</p>
<p>If we create an instance of that class and print its name, we’ll get “Taylor Swift”:</p>
<pre class="code">
<p></p>
<p><span class="keyword">var</span> singer <span class="operator">=</span> <span class="function">Singer</span><span class="punctuation">(</span><span class="punctuation">)</span></p>
Expand Down Expand Up @@ -44,4 +44,4 @@
<p></p>
</pre>

<p style="height: 0px; margin-bottom: 0px;"></p>
<p style="height: 0px; margin-bottom: 0px;"></p>
4 changes: 2 additions & 2 deletions Unwrap/Content/SixtySeconds/initializers.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
{
"answer": "struct Sport {\n\tvar name: String\n\tvar isOlympicSport: Bool\n}\nlet chessBoxing = Sport(name: \"Chessboxing\", isOlympicSport: \"false\")",
"reason": "The <code>isOlympicSport<\/code> property is a Boolean, but this attempts to create a <code>Sport<\/code> instance by providing with a string."
"reason": "The <code>isOlympicSport<\/code> property is a Boolean, but this attempts to create a <code>Sport<\/code> instance by providing it with a string."
},
{
"answer": "struct Media {\n\tvar type: String\n\tvar users: Int\n\tinit() {\n\t\t\n\t}\n}\nlet tv = Media(type: \"Television\", users: 10_000_000)",
Expand All @@ -57,4 +57,4 @@
"reason": "This code does not provide a value for the <code>maxWarp<\/code> property."
}
]
}
}
2 changes: 1 addition & 1 deletion Unwrap/Content/SixtySeconds/range-operators.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
</pre>

<p style="height: 0px; margin-bottom: 0px;"></p>
<p>As before, the <code>default</code> case must be there to ensure all possible values are covered.</p>
<p>As before, the <code>default</code> case must be there to ensure all possible values are covered.</p>

0 comments on commit 111e3a0

Please sign in to comment.