Skip to content

Commit fd5f678

Browse files
authored
Merge pull request github#10897 from jsoref/spelling-frontend
Spelling frontend
2 parents 32ac7d6 + 8fa524c commit fd5f678

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/codeql/ql-language-reference/expressions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ If there had been two different prices for apples too, the monotonic
571571

572572
Charles wants to buy a banana, which is not for sale at all. In the
573573
default case, the sum produced for Charles includes the cost of the
574-
apple he *can* buy, but there's no line for Charles in the monontonic
574+
apple he *can* buy, but there's no line for Charles in the monotonic
575575
``sum`` output, because there *is no way* for Charles to buy one apple
576576
plus one banana.
577577

@@ -586,7 +586,7 @@ case: As long as there's no price for bananas, no output is produced
586586
for him. This means that if we later do learn of a banana price, we
587587
don't need to *remove* any output tuple already produced. The
588588
importance of this is that the monotonic aggregate behavior works well
589-
with a fixpoint-based semantics for recursion, so it will be meaningul
589+
with a fixpoint-based semantics for recursion, so it will be meaningful
590590
to let the ``getPrice`` predicate be mutually recursive with the count
591591
aggregate itself. (On the other hand, ``getFruit`` still cannot be
592592
allowed to be recursive, because adding another fruit to someone's

docs/codeql/ql-language-reference/signatures.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Predicate signatures are defined much like predicates themselves, but they do no
2222
In detail, a predicate signature definition consists of:
2323

2424
#. The keyword ``signature``.
25-
#. The keyword ``predicate`` (allows subsitution with a :ref:`predicate without result <predicates-without-result>`),
26-
or the type of the result (allows subsitution with a :ref:`predicate with result <predicates-with-result>`).
25+
#. The keyword ``predicate`` (allows substitution with a :ref:`predicate without result <predicates-without-result>`),
26+
or the type of the result (allows substitution with a :ref:`predicate with result <predicates-with-result>`).
2727
#. The name of the predicate signature. This is an `identifier <https://codeql.github.com/docs/ql-language-reference/ql-language-specification/#identifiers>`_
2828
starting with a lowercase letter.
2929
#. The arguments to the predicate signature, if any, separated by commas.

0 commit comments

Comments
 (0)