We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f01ad97 commit f6f6e80Copy full SHA for f6f6e80
src/main/scala/scalatutorial/sections/LexicalScopes.scala
@@ -80,7 +80,7 @@ object LexicalScopes extends ScalaTutorialSection {
80
* = Lexical Scoping =
81
*
82
* Definitions of outer blocks are visible inside a block unless they are shadowed.
83
- * Shadowed defintions are ones which are redfined in a lower scope.
+ * Shadowed defintions are ones which are redefined in a lower scope.
84
85
* Therefore, we can simplify `sqrt` by eliminating redundant occurrences of the `x` parameter, which means
86
* the same thing everywhere:
0 commit comments