Skip to content

Commit baa0153

Browse files
authored
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".
1 parent 001b2a1 commit baa0153

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/developer-guide/code-path-analysis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ module.exports = function(context) {
100100
},
101101

102102
/**
103-
* This is called when a code path segment was leaved.
103+
* This is called when a code path segment was left.
104104
* In this time, the segment does not have the next segments yet.
105105
*
106-
* @param {CodePathSegment} segment - The leaved code path segment.
106+
* @param {CodePathSegment} segment - The left code path segment.
107107
* @param {ASTNode} node - The current node.
108108
* @returns {void}
109109
*/

0 commit comments

Comments
 (0)