From d8867e42dbc3fee7a4c1996bec597490fbf8a54d Mon Sep 17 00:00:00 2001 From: connorskees Date: Fri, 6 Jan 2023 11:19:16 +0000 Subject: [PATCH] hide macro internals from rust-analyzer autocomplete --- src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3f8af1d..fb2219c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -107,10 +107,13 @@ pub use grass_internal::*; #[cfg_attr(doc, doc(cfg(feature = "macro")))] macro_rules! include { ($path:literal) => { - $crate::__internal_include_sass::include_sass!($path); + $crate::__internal::include_sass::include_sass!($path); }; } #[doc(hidden)] #[cfg(feature = "macro")] -pub use include_sass as __internal_include_sass; +pub mod __internal { + #[doc(hidden)] + pub use include_sass; +}