diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-05-25 15:27:32 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-05-25 15:27:32 +0200 |
| commit | ec97b0f0b57376550efa4d144b62955970f22f02 (patch) | |
| tree | 55042dbe1adaddce161543413cad18d34f4a7f33 /src/librustdoc/html/render/mod.rs | |
| parent | 3646a09811bfca55e976117b4c2b8bf0b4cb5aee (diff) | |
| download | rust-ec97b0f0b57376550efa4d144b62955970f22f02.tar.gz rust-ec97b0f0b57376550efa4d144b62955970f22f02.zip | |
Update to new API
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
| -rw-r--r-- | src/librustdoc/html/render/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs index 14b35d3c392..5677b13033d 100644 --- a/src/librustdoc/html/render/mod.rs +++ b/src/librustdoc/html/render/mod.rs @@ -1222,7 +1222,7 @@ fn render_repr_attributes_in_code( def_id: DefId, item_type: ItemType, ) { - if let Some(repr) = clean::repr_attributes(cx.tcx(), cx.cache(), def_id, item_type) { + if let Some(repr) = clean::repr_attributes(cx.tcx(), cx.cache(), def_id, item_type, false) { render_code_attribute(CodeAttribute(repr), w); } } |
