about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-09-09 00:17:47 -0700
committerGitHub <noreply@github.com>2024-09-09 00:17:47 -0700
commit4cfb1c315455c80e1a2a2b7f820fc1df78474f23 (patch)
treee7f23769e5826f439ddbce387675e757c300bf3b /tests/codegen/patchable-function-entry
parent2cce01ee6279d1b123ddc874f01280054bc02301 (diff)
parentf2696ab4d3095bb6ad6197e55855ebdf00f50b80 (diff)
downloadrust-4cfb1c315455c80e1a2a2b7f820fc1df78474f23.tar.gz
rust-4cfb1c315455c80e1a2a2b7f820fc1df78474f23.zip
Rollup merge of #128667 - its-the-shrimp:rustdoc_json_types_rename, r=aDotInTheVoid
rustdoc: normalise type/field names

Updates #100961

- `Import` -> `Use`, to better reflect the terminology of Rust & its syntax
- `TypeBinding` -> `AssocItemConstraint`, to sync up with `clean`
- `FnDecl` -> `FunctionSignature`, because that's what it is
- `Header` -> `FunctionHeader`, because `Header` is a very word that's very heavily loaded with different meanings
- `ItemEnum::AssocType`: `default` -> `type`, because those items appear in `impl` blocks as well, where they're _not_ the "default"
- `ItemEnum::AssocConst`: `default` -> `value`, see the previous point
- `ForeignType` -> `ExternType`, because "foreign" is not the right word there
- boolean fields' names made to consistently be a phrase that can be a yes/no answer, e.g. `async` -> `is_async`

The docs of `ItemEnum::AssocType::type_` & of `ItemEnum::AssocConst::value` are also updated to be up to date with the clarification of the name of the fields
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions