about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-11 11:53:35 +0000
committerbors <bors@rust-lang.org>2023-06-11 11:53:35 +0000
commit7b6093ee0805570d1af441673ebce409f8a14587 (patch)
treeb960fed27edad4f2d6f71be07cc7a8b9237a0e03 /tests/rustdoc-js-std/parser-errors.js
parent34d64ab7a21f704adb496ee2749242fc3511f0f8 (diff)
parente240dab0c86f023e06e1fc2249eff10054298b09 (diff)
downloadrust-7b6093ee0805570d1af441673ebce409f8a14587.tar.gz
rust-7b6093ee0805570d1af441673ebce409f8a14587.zip
Auto merge of #112202 - nicklimmm:item-template-derive-macro, r=GuillaumeGomez
rustdoc: Add `item_template` macro

Closes #112021

This change removes the use of `self.borrows()` in Askama templates, removes code duplication from `item_and_mut_cx()`, and improved readability by eliminating the prefix `item_template_` when calling from the template.

References:
- Discussion issue: https://github.com/rust-lang/rust/issues/112021
- `ItemTemplate` PR: https://github.com/rust-lang/rust/pull/111946

r? `@GuillaumeGomez`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions