File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/scalatutorial/sections Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ object LexicalScopes extends ScalaTutorialSection {
9292 * = Lexical Scoping =
9393 *
9494 * Definitions of outer blocks are visible inside a block unless they are shadowed.
95- * Shadowed defintions are ones which are redefined in a lower scope.
95+ * Shadowed definitions are ones which are redefined in a lower scope.
9696 *
9797 * Therefore, we can simplify `sqrt` by eliminating redundant occurrences of the `x` parameter, which means
9898 * the same thing everywhere:
@@ -127,7 +127,7 @@ object LexicalScopes extends ScalaTutorialSection {
127127 *
128128 * but most people would omit the semicolon.
129129 *
130- * On the other hand, if there are more than one statements on a line, they need to be
130+ * On the other hand, if there is more than one statement on a line, they need to be
131131 * separated by semicolons:
132132 *
133133 * {{{
You can’t perform that action at this time.
0 commit comments