Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/scala/scalatutorial/sections/LexicalScopes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ object LexicalScopes extends ScalaTutorialSection {
* = Lexical Scoping =
*
* Definitions of outer blocks are visible inside a block unless they are shadowed.
* Shadowed defintions are ones which are redefined in a lower scope.
* Shadowed definitions are ones which are redefined in a lower scope.
*
* Therefore, we can simplify `sqrt` by eliminating redundant occurrences of the `x` parameter, which means
* the same thing everywhere:
Expand Down