hide macro internals from rust-analyzer autocomplete

This commit is contained in:
connorskees 2023-01-06 11:19:16 +00:00
parent 8095c2345e
commit d8867e42db

View File

@ -107,10 +107,13 @@ pub use grass_internal::*;
#[cfg_attr(doc, doc(cfg(feature = "macro")))] #[cfg_attr(doc, doc(cfg(feature = "macro")))]
macro_rules! include { macro_rules! include {
($path:literal) => { ($path:literal) => {
$crate::__internal_include_sass::include_sass!($path); $crate::__internal::include_sass::include_sass!($path);
}; };
} }
#[doc(hidden)] #[doc(hidden)]
#[cfg(feature = "macro")] #[cfg(feature = "macro")]
pub use include_sass as __internal_include_sass; pub mod __internal {
#[doc(hidden)]
pub use include_sass;
}