Skip to content

Commit 54c5ebd

Browse files
committed
Hide generated structs of tracked functions from docs via #[doc(hidden)]
1 parent 87a730f commit 54c5ebd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/salsa-macro-rules/src/setup_tracked_fn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ macro_rules! setup_tracked_fn {
369369
// The struct needs be last in the macro expansion in order to make the tracked
370370
// function's ident be identified as a function, not a struct, during semantic highlighting.
371371
// for more details, see https://github.com/salsa-rs/salsa/pull/612.
372+
#[doc(hidden)]
372373
#[allow(non_camel_case_types)]
373374
$vis struct $fn_name {
374375
_priv: std::convert::Infallible,

0 commit comments

Comments
 (0)