From 0562e9a385848b2182ab1eefae8d5ae8e3410fec Mon Sep 17 00:00:00 2001 From: lyken Date: Tue, 27 Aug 2024 17:18:48 +0800 Subject: [PATCH] Instance add newline --- nac3core/src/codegen/model/core.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nac3core/src/codegen/model/core.rs b/nac3core/src/codegen/model/core.rs index a9da660a..fdf9e6f8 100644 --- a/nac3core/src/codegen/model/core.rs +++ b/nac3core/src/codegen/model/core.rs @@ -199,6 +199,7 @@ pub trait Model<'ctx>: fmt::Debug + Clone + Copy { pub struct Instance<'ctx, M: Model<'ctx>> { /// The model of this instance. pub model: M, + /// The value of this instance. /// /// It is guaranteed the [`BasicType`] of `value` is consistent with that of `model`.