about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-04-16 01:12:37 +0200
committerGitHub <noreply@github.com>2024-04-16 01:12:37 +0200
commitdac1a22ba021692c14d3f6cf54e985c5d9d5d7d1 (patch)
tree7ae328fce551d0a44d4547f95193ae9db812dca3 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parent7af33b30768a7ab0df2b285b225233d5fb565c5c (diff)
parentfd204262e543d31189aa3e8db593974b978181ec (diff)
downloadrust-dac1a22ba021692c14d3f6cf54e985c5d9d5d7d1.tar.gz
rust-dac1a22ba021692c14d3f6cf54e985c5d9d5d7d1.zip
Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercote
Cleanup: Rename `ModSep` to `PathSep`

`::` is usually referred to as the *path separator* (citation needed).

The existing name `ModSep` for *module separator* is a bit misleading since it in fact separates the segments of arbitrary path segments, not only ones resolving to modules. Let me just give a shout-out to associated items (`T::Assoc`, `<Ty as Trait>::function`) and enum variants (`Option::None`).

Motivation: Reduce friction for new contributors, prevent potential confusion.

cc `@petrochenkov`
r? nnethercote or compiler
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions