From 0c73eecc196bbf32151807481b3f0a93346e5e3f Mon Sep 17 00:00:00 2001 From: lyken Date: Wed, 28 Aug 2024 12:19:27 +0800 Subject: [PATCH] format: newline between fields in Instance --- 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 3d03840c..681833b6 100644 --- a/nac3core/src/codegen/model/core.rs +++ b/nac3core/src/codegen/model/core.rs @@ -230,6 +230,7 @@ pub trait Model<'ctx>: fmt::Debug + Clone + Copy + ModelBase<'ctx> { 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`.