Skip to content

Commit

Permalink
doc: hide spec_error module (launchbadge#3376)
Browse files Browse the repository at this point in the history
The `spec_error` module implements the autoref specialization hack that's used in a single place in the derive macros. It wasn't meant to be a public API.

Given how arcane it must appear, I doubt anyone's tried using it outside of this project anyway.
  • Loading branch information
abonander authored and jrasanen committed Oct 14, 2024
1 parent c05da32 commit 2eb75f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ mod macros;
pub mod ty_match;

#[cfg(feature = "macros")]
#[doc(hidden)]
pub mod spec_error;

#[doc(hidden)]
Expand Down

0 comments on commit 2eb75f3

Please sign in to comment.