diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-02 14:21:33 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-02 14:21:52 +1100 |
| commit | fb01485690da6f4c3dbb7f5a3068784f5a3d87bf (patch) | |
| tree | 4f8bc2366d7846f44c9debc3b48ba2ab4f25bb00 /src/doc/rustc-dev-guide/examples/rustc-interface-example.rs | |
| parent | ccb2194f9674c5be8bcc4d39ece15a382c863c2a (diff) | |
| download | rust-fb01485690da6f4c3dbb7f5a3068784f5a3d87bf.tar.gz rust-fb01485690da6f4c3dbb7f5a3068784f5a3d87bf.zip | |
Rename span-related names in `AstValidator`.
A bunch of span-related names in `AstValidator` don't end in `span`, which goes against the usual naming conventions and makes the code surprisingly hard to read. E.g. a name like `body` doesn't sound like it's a span. This commit adds `_span` suffixes.
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/rustc-interface-example.rs')
0 files changed, 0 insertions, 0 deletions
