Skip to content

Commit b84d28b

Browse files
fix: clarify confusing description
fix ast-grep/ast-grep#2381
1 parent ab52438 commit b84d28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/guide/rewrite/rewriter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ The produced `NEW_VAR` will contain the transformed nodes from both rewriters. [
208208
Using multiple rewriters can make you dynamically apply different rewriting logic to different sub nodes, based on the matching rules.
209209
:::
210210

211-
In case multiple rewriters match the same sub node, the rewriter that appears first in the `rewriters` list will be applied first. Therefore, _**the order of rewriters in the `rewriters` list matters.**_
211+
In case multiple rewriters match the same sub node, only the matching rewriter that appears first in the `rewriters` list will be applied. Therefore, _**the order of rewriters in the `rewriters` list matters.**_
212212

213213
## Use Alternative Joiner
214214

0 commit comments

Comments
 (0)