Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed May 6, 2023
1 parent 6a57f4d commit fc61152
Show file tree
Hide file tree
Showing 4 changed files with 1,047 additions and 1,019 deletions.
4 changes: 2 additions & 2 deletions crates/rune-macros/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,11 +625,11 @@ impl Context {
full_type_of: quote!(#module::runtime::FullTypeOf),
hash: quote!(#module::Hash),
id: quote!(#module::parse::Id),
install_with: quote!(#module::module::InstallWith),
install_with: quote!(#module::__private::InstallWith),
macro_context: quote!(#module::macros::MacroContext),
maybe_type_of: quote!(#module::runtime::MaybeTypeOf),
module_variant: quote!(#module::module::Variant),
module: quote!(#module::module::Module),
module: quote!(#module::__private::Module),
named: quote!(#module::compile::Named),
object: quote!(#module::runtime::Object),
opaque: quote!(#module::parse::Opaque),
Expand Down
6 changes: 5 additions & 1 deletion crates/rune/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ pub use self::compile::{Context, ContextError, Options};

pub mod module;
#[doc(inline)]
pub use self::module::{InstallWith, Module};
pub use self::module::module::Module;
#[doc(inline)]
pub use self::module::InstallWith;

pub mod diagnostics;
#[doc(inline)]
Expand Down Expand Up @@ -292,6 +294,8 @@ mod collections {
/// Privately exported details.
#[doc(hidden)]
pub mod __private {
pub use crate::module::module::Module;
pub use crate::module::InstallWith;
pub use crate::module::{FunctionMetaData, FunctionMetaKind};
pub use crate::module::{MacroMetaData, MacroMetaKind};
}
Expand Down
Loading

0 comments on commit fc61152

Please sign in to comment.