Skip to content

Commit

Permalink
docs: unhide sol! wrapper in meta crate (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored May 1, 2024
1 parent 2cd2cec commit 23fcf2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/alloy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ pub use sol_types::sol;
#[doc(inline)]
pub use self::core::rlp;

/// [`sol!`](sol_types::sol!) macro wrapper to route imports to the correct crate.
/// [`sol!`](sol_types::sol!) `macro_rules!` wrapper to set import attributes.
///
/// See [`sol!`](sol_types::sol!) for the actual macro documentation.
#[cfg(all(not(doc), feature = "sol-types"))] // Show the actual macro in docs.
#[doc(hidden)]
#[macro_export]
macro_rules! sol {
($($t:tt)*) => {
Expand Down

0 comments on commit 23fcf2d

Please sign in to comment.