diff --git a/src/lib.rs b/src/lib.rs index 494be49..4b58baa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,8 @@ #![warn(missing_docs, clippy::all, clippy::pedantic)] #![allow(clippy::missing_panics_doc, clippy::missing_const_for_fn)] +pub use shulkerbox; + pub mod base; pub mod lexical; pub mod syntax; diff --git a/src/transpile/transpiler.rs b/src/transpile/transpiler.rs index ba12f37..8552879 100644 --- a/src/transpile/transpiler.rs +++ b/src/transpile/transpiler.rs @@ -52,7 +52,7 @@ impl Transpiler { /// Transpiles the given program. /// /// # Errors - /// - [`TranspileError::MissingMainFunction`] If the main function is missing. + /// - [`TranspileError::MissingFunctionDeclaration`] If a called function is missing pub fn transpile( &mut self, program: &Program,