mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-18 23:02:35 +03:00
Update ast/src/input/definition.rs
Co-authored-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
This commit is contained in:
parent
16884cbd1a
commit
a68b56881b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user