diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-03-04 16:31:49 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-03-05 08:11:45 +1100 |
| commit | 78c99ebfeac04a0d4ab188a2cabddc5c775e6af2 (patch) | |
| tree | ebed72189b1287f37cb6dd191325da1185e38a41 /tests/codegen/patchable-function-entry | |
| parent | 0b56261cef11fbc5ef97b0ccc9e322c06ce095e6 (diff) | |
| download | rust-78c99ebfeac04a0d4ab188a2cabddc5c775e6af2.tar.gz rust-78c99ebfeac04a0d4ab188a2cabddc5c775e6af2.zip | |
Rename all `ParseSess` variables/fields/lifetimes as `psess`.
Existing names for values of this type are `sess`, `parse_sess`, `parse_session`, and `ps`. `sess` is particularly annoying because that's also used for `Session` values, which are often co-located, and it can be difficult to know which type a value named `sess` refers to. (That annoyance is the main motivation for this change.) `psess` is nice and short, which is good for a name used this much. The commit also renames some `parse_sess_created` values as `psess_created`.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
