From 1e65f16f1eae483ce097faead74c0c621cbafefd Mon Sep 17 00:00:00 2001 From: lyken Date: Wed, 28 Aug 2024 12:54:20 +0800 Subject: [PATCH] ModelError /// --- nac3core/src/codegen/model/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);