about summary refs log tree commit diff
path: root/src/librustdoc/formats
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-03-04 19:37:08 -0800
committerGitHub <noreply@github.com>2025-03-04 19:37:08 -0800
commit3065925c7e7bd2c46f80091f1420eeeadbb8c99b (patch)
tree88b73b13c1cf4dbe3cca5596bd92ff43299f4281 /src/librustdoc/formats
parenta69982e00a6bff2f1ca168f52bf3bb3058b891a0 (diff)
parent4d75c4f8f3e2b186da379358b09f6c347657e1c2 (diff)
downloadrust-3065925c7e7bd2c46f80091f1420eeeadbb8c99b.tar.gz
rust-3065925c7e7bd2c46f80091f1420eeeadbb8c99b.zip
Rollup merge of #138026 - celinval:chores-item-has-body, r=compiler-errors
Make CrateItem::body() function return an option

When we initially created `CrateItem`, it would only represent items that contain a body.

That is no longer the case, for now, make this explicit by expanding the APIs to retrieve the item body.

This is related to https://github.com/rust-lang/project-stable-mir/issues/34

r? `@oli-obk`
Diffstat (limited to 'src/librustdoc/formats')
0 files changed, 0 insertions, 0 deletions