GQL icon indicating copy to clipboard operation
GQL copied to clipboard

Incorrect comments in function of consume_identifier

Open craftslab opened this issue 2 years ago • 3 comments

Describe the bug

Incorrect comments in function of consume_identifier

To Reproduce

// https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/tokenizer.rs#L647

// Identifier is be case-insensitive by default, convert to lowercase to be easy to compare and lookup
// https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/tokenizer.rs#L670

// Identifier is be case-insensitive by default, convert to lowercase to be easy to compare and lookup

Expected behavior

// Identifier is being case-insensitive by default, convert to lowercase to be easy to compare and lookup
// Identifier is being case-insensitive by default, convert to lowercase to be easy to compare and lookup

GQL (please complete the following information):

Version 0.14.0

Screenshots

None

craftslab avatar Feb 16 '24 21:02 craftslab

Please check it @AmrDeveloper

craftslab avatar Feb 16 '24 21:02 craftslab

Hello @craftslab,

Thank you for reporting with clear example and fix

AmrDeveloper avatar Feb 17 '24 09:02 AmrDeveloper

See: https://github.com/AmrDeveloper/GQL/commit/9c0dd0a73d858d4df7920fb77e9611f702c315ef#r138759473

Remove characters of `` in the end of comments line please @AmrDeveloper

craftslab avatar Feb 18 '24 05:02 craftslab