Skip to content

Commit

Permalink
better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 27, 2025
1 parent 39d8f7e commit 9f5f05a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ pub comptime fn generate_serialize_to_fields(
}

/// From a quote that gets tokenized to a multiple tokens we collapse it to a single token by replacing all `.` with `_`.
/// E.g. "self.value" -> "self_value"
/// E.g. "self.values[0]" -> "self_values_0"
comptime fn collapse_to_one_token(q: Quoted) -> Quoted {
let tokens = q.tokens();

Expand Down

0 comments on commit 9f5f05a

Please sign in to comment.