mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-04 19:08:32 +00:00
Hide generated structs of tracked functions from docs via #[doc(hidden)]
(#917)
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Release-plz / Release-plz release (push) Waiting to run
Release-plz / Release-plz PR (push) Waiting to run
Test / Test (push) Waiting to run
Test / Shuttle (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Benchmarks (push) Waiting to run
Some checks are pending
Book / Book (push) Waiting to run
Book / Deploy (push) Blocked by required conditions
Release-plz / Release-plz release (push) Waiting to run
Release-plz / Release-plz PR (push) Waiting to run
Test / Test (push) Waiting to run
Test / Shuttle (push) Waiting to run
Test / Miri (push) Waiting to run
Test / Benchmarks (push) Waiting to run
This commit is contained in:
parent
c145596ef8
commit
8d14c0251e
2 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- `#[doc(hidden)]` auto-generated tracked-fn structs ([#917](https://github.com/salsa-rs/salsa/pull/917))
|
||||
|
||||
## [0.22.0](https://github.com/salsa-rs/salsa/compare/salsa-v0.21.1...salsa-v0.22.0) - 2025-05-23
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -369,6 +369,7 @@ macro_rules! setup_tracked_fn {
|
|||
// The struct needs be last in the macro expansion in order to make the tracked
|
||||
// function's ident be identified as a function, not a struct, during semantic highlighting.
|
||||
// for more details, see https://github.com/salsa-rs/salsa/pull/612.
|
||||
#[doc(hidden)]
|
||||
#[allow(non_camel_case_types)]
|
||||
$vis struct $fn_name {
|
||||
_priv: std::convert::Infallible,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue