Update ast/src/input/definition.rs

Co-authored-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
This commit is contained in:
Damir S 2022-02-23 19:41:02 +03:00 committed by GitHub
parent 16884cbd1a
commit a68b56881b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ use super::*;
use crate::{Expression, Identifier, Type};
/// A single definition inside a section in a state or an input file.
/// Structure of a definition would be: `<name>: <type_> = <value>;`
/// Definitions should be structured as: `<name>: <type_> = <value>;`
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Definition {
pub type_: Type,