Skip to content

Commit f6f6e80

Browse files
author
Elias Rahmani
authored
edit typo for redefined
1 parent f01ad97 commit f6f6e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scalatutorial/sections/LexicalScopes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ object LexicalScopes extends ScalaTutorialSection {
8080
* = Lexical Scoping =
8181
*
8282
* 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.
83+
* Shadowed defintions are ones which are redefined in a lower scope.
8484
*
8585
* Therefore, we can simplify `sqrt` by eliminating redundant occurrences of the `x` parameter, which means
8686
* the same thing everywhere:

0 commit comments

Comments
 (0)