From 7b7bad94db08fce610f27d9bb82b0d3b7cf7d7ed Mon Sep 17 00:00:00 2001 From: Lukas Fittl Date: Sat, 27 Jan 2024 09:14:11 -0800 Subject: [PATCH] Update lib/pg_query/treewalker.rb Co-authored-by: Olle Jonsson --- lib/pg_query/treewalker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pg_query/treewalker.rb b/lib/pg_query/treewalker.rb index c59a60a5..83540cc8 100644 --- a/lib/pg_query/treewalker.rb +++ b/lib/pg_query/treewalker.rb @@ -5,7 +5,7 @@ class ParserResult # If you pass a block with 1 argument, you will get each node. # If you pass a block with 4 arguments, you will get each parent_node, parent_field, node and location. # - # If sufficent for the use case, the 1 argument block approach is recommended, since its faster. + # If sufficient for the use case, the 1 argument block approach is recommended, since it's faster. # # Location uniquely identifies a given node within the parse tree. This is a stable identifier across # multiple parser runs, assuming the same pg_query release and no modifications to the parse tree.