Commit 49fe387
committed
Do not expose
Since the parser's API is too widely open, users can easily break the binary
search provided by `Comments::find`. One possibility could be to expose
`Parser::into_comments` sorting the comments first, but have
`Parser::parse_sql_with_comments` do wihtout. To be decided later.Parser::into_comments
1 parent 3db6259 commit 49fe387
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| |||
0 commit comments