Skip to content

Commit 4d2f35e

Browse files
authored
Update URL for "lexical scoping" (#50085)
1 parent 53bcb39 commit 4d2f35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/variables-and-scoping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Notably missing from this table are
3333
which do *not* introduce new scopes.
3434
The three types of scopes follow somewhat different rules which will be explained below.
3535

36-
Julia uses [lexical scoping](https://en.wikipedia.org/wiki/Scope_%28computer_science%29#Lexical_scoping_vs._dynamic_scoping),
36+
Julia uses [lexical scoping](https://en.wikipedia.org/wiki/Scope_(computer_science)#Lexical_scope_vs._dynamic_scope),
3737
meaning that a function's scope does not inherit from its caller's scope, but from the scope in
3838
which the function was defined. For example, in the following code the `x` inside `foo` refers
3939
to the `x` in the global scope of its module `Bar`:

0 commit comments

Comments
 (0)