about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-reference.js
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
commitc5665990c59c994026f2f85c073f9a20fcbe817e (patch)
tree4428aabeecf09329862211ab24ffaacb858545e2 /tests/rustdoc-js-std/parser-reference.js
parent9cc26b598a8b60dac7d5a16f55a51a0b117ab9bc (diff)
parent3cbc9e956095401af31a95f82f2d663dc0c8d343 (diff)
downloadrust-c5665990c59c994026f2f85c073f9a20fcbe817e.tar.gz
rust-c5665990c59c994026f2f85c073f9a20fcbe817e.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/rustdoc-js-std/parser-reference.js')
0 files changed, 0 insertions, 0 deletions