File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tasks/ast_tools/src/generators Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -663,8 +663,8 @@ fn generate_struct(
663663 let internal_pos = internal_pos_offset ( field. offset_64 ( ) ) ;
664664
665665 // TODO: Currently we store all internal data in an object, stored as `#internal` property.
666- // This is on assumption that private field access is relatively slow, so we only only want
667- // to incur a single private field fetch to get all the data.
666+ // This is on assumption that private field access is relatively slow, so we only want to
667+ // incur a single private field fetch to get all the data.
668668 // But maybe creating these extra objects is more costly, and we'd be better off having
669669 // separate `#pos` and `#ast` private properties.
670670 // Benchmark it and find out which is faster.
You can’t perform that action at this time.
0 commit comments