diff --git a/nac3core/src/codegen/model/core.rs b/nac3core/src/codegen/model/core.rs index 8a556770..04ecbc5f 100644 --- a/nac3core/src/codegen/model/core.rs +++ b/nac3core/src/codegen/model/core.rs @@ -11,7 +11,7 @@ use crate::codegen::{CodeGenContext, CodeGenerator}; pub struct ModelError(pub String); impl ModelError { - // Append a context message to the error. + /// Append a context message to the error. pub(super) fn under_context(mut self, context: &str) -> Self { self.0.push_str(" ... in "); self.0.push_str(context);