mirror of
https://github.com/AleoHQ/leo.git
synced 2024-09-21 20:18:09 +03:00
Update docs
This commit is contained in:
parent
c2bed2bb54
commit
a6fe8bf80c
@ -25,7 +25,7 @@ use std::fmt;
|
||||
pub struct FunctionOutput {
|
||||
/// The mode of the function output.
|
||||
pub mode: Mode,
|
||||
/// What's the parameter's type?
|
||||
/// The type of the function output.
|
||||
pub type_: Type,
|
||||
/// The parameters span from any annotations to its type.
|
||||
pub span: Span,
|
||||
|
@ -35,10 +35,10 @@ pub struct TypeChecker<'a> {
|
||||
pub(crate) has_return: bool,
|
||||
/// Whether or not the function that we are currently traversing has a finalize statement.
|
||||
pub(crate) has_finalize: bool,
|
||||
/// Are we traversing a program function?
|
||||
/// Whether or not we are currently traversing a program function.
|
||||
/// A "program function" is a function that can be invoked by a user or another program.
|
||||
pub(crate) is_program_function: bool,
|
||||
/// Are we traversing a finalize block?
|
||||
/// Whether or not we are currently traversing a finalize block.
|
||||
pub(crate) is_finalize: bool,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user