Skip to content

Commit 692fb6c

Browse files
refactor(ast_tools): correct comment typo (#11873)
1 parent 84fa006 commit 692fb6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/ast_tools/src/generators/raw_transfer_lazy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)