Skip to content

Commit

Permalink
docs: Use correct past tense "left" instead of "leaved" (#15950)
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
mozfreddyb committed Jun 2, 2022
1 parent 001b2a1 commit baa0153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/developer-guide/code-path-analysis.md
Expand Up @@ -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}
*/
Expand Down

0 comments on commit baa0153

Please sign in to comment.