This commit is contained in:
vuittont60 2024-01-08 11:27:27 +08:00
parent 3b346c96d2
commit a20e7d6b6d
No known key found for this signature in database
GPG Key ID: A9EFD100F36387FD
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ use leo_span::source_map::is_not_test_framework;
/// The indent for an error message.
pub(crate) const INDENT: &str = " ";
/// Backtraced compiler ouput type
/// Backtraced compiler output type
/// undefined value `x`
/// --> file.leo: 2:8
/// = help: Initialize a variable `x` first.
@ -46,7 +46,7 @@ pub struct Backtraced {
pub error: bool,
#[derivative(PartialEq = "ignore")]
#[derivative(Hash = "ignore")]
/// The backtrace representing where the error occured in Leo.
/// The backtrace representing where the error occurred in Leo.
pub backtrace: Backtrace,
}

View File

@ -195,7 +195,7 @@ create_messages!(
help: None,
}
/// For when the package failed to initalize.
/// For when the package failed to initialize.
@backtraced
failed_to_initialize_package {
args: (package: impl Display, path: impl Debug),