From baa01530469ec233fb60380a0960c1550f9d9a45 Mon Sep 17 00:00:00 2001 From: Frederik Braun Date: Thu, 2 Jun 2022 22:42:30 +0200 Subject: [PATCH] docs: Use correct past tense "left" instead of "leaved" (#15950) The code path analysis documentation says that `onCodePathSegmentEnd` is called when a segment was "leaved". It should use the correct past tense and say "when it was left". --- docs/src/developer-guide/code-path-analysis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/developer-guide/code-path-analysis.md b/docs/src/developer-guide/code-path-analysis.md index 68348f3e7a2..9d2841b8cd9 100644 --- a/docs/src/developer-guide/code-path-analysis.md +++ b/docs/src/developer-guide/code-path-analysis.md @@ -100,10 +100,10 @@ module.exports = function(context) { }, /** - * This is called when a code path segment was leaved. + * This is called when a code path segment was left. * In this time, the segment does not have the next segments yet. * - * @param {CodePathSegment} segment - The leaved code path segment. + * @param {CodePathSegment} segment - The left code path segment. * @param {ASTNode} node - The current node. * @returns {void} */