format: newline between fields in Instance

This commit is contained in:
lyken 2024-08-28 12:19:27 +08:00
parent 9113093f9f
commit 0c73eecc19
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ pub trait Model<'ctx>: fmt::Debug + Clone + Copy + ModelBase<'ctx> {
pub struct Instance<'ctx, M: Model<'ctx>> { pub struct Instance<'ctx, M: Model<'ctx>> {
/// The model of this instance. /// The model of this instance.
pub model: M, pub model: M,
/// The value of this instance. /// The value of this instance.
/// ///
/// It is guaranteed the [`BasicType`] of `value` is consistent with that of `model`. /// It is guaranteed the [`BasicType`] of `value` is consistent with that of `model`.