Skip to content

Commit

Permalink
illegal -> invalid in the manual
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Aug 18, 2014
1 parent 6a1cc96 commit fa58a37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/manual/strings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ for ``v"0.2-rc2"``.
It is good practice to use such special versions in comparisons (particularly,
the trailing ``-`` should always be used on upper bounds unless there's a good
reason not to), but they must not be used as the actual version number of
anything, as they are illegal in the semantic versioning scheme.
anything, as they are invalid in the semantic versioning scheme.

Besides being used for the ``VERSION`` constant, ``VersionNumber`` objects are
widely used in the ``Pkg`` module, to specify packages versions and their
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/variables-and-scoping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ block without creating any new bindings:
end
1

The first example is illegal because you cannot declare the same
variable as local in the same scope twice. The second example is legal
The first example is invalid because you cannot declare the same
variable as local in the same scope twice. The second example is valid
since the ``let`` introduces a new scope block, so the inner local ``x``
is a different variable than the outer local ``x``.

Expand Down

0 comments on commit fa58a37

Please sign in to comment.