rustdoc-json-types: Inconsistant spelling of type/ty #94889
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
C-discussion
Category: Discussion or questions that doesn't represent real issues.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
We mostly use
type_: Type
,rust/src/rustdoc-json-types/lib.rs
Lines 567 to 568 in ed2a69c
But sometimes use
ty
rust/src/rustdoc-json-types/lib.rs
Lines 380 to 383 in ed2a69c
rust/src/rustdoc-json-types/lib.rs
Lines 388 to 392 in ed2a69c
We should choose one and stick to it.
ty
is nicer to type (ha), and generaly consistant with compiller internals, but for those who don't know,type_
is much more clear, even if more ugly.cc @CraftSpider @P1n3appl3 what do you think?
@rustbot modify labels: +A-rustdoc-json +T-rustdoc +C-discussion
The text was updated successfully, but these errors were encountered: