Skip to content

Commit

Permalink
Merge pull request #27094 from vuittont60/testnet3
Browse files Browse the repository at this point in the history
chore: fix typos
  • Loading branch information
d0cd authored Jan 16, 2024
2 parents 195df65 + e6d1a23 commit f00f42d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compiler/span/src/span_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use serde::{
use std::fmt;

/// The AST contains a few tuple-like enum variants that contain spans.
/// #[derive(Serialize, Deserialize)] outputs these fields as anonmyous
/// #[derive(Serialize, Deserialize)] outputs these fields as anonymous
/// mappings, which makes them difficult to remove from the JSON AST.
/// This function provides a custom serialization that maps the keyword
/// `span` to the span information.
Expand Down
4 changes: 2 additions & 2 deletions errors/src/common/backtraced.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion errors/src/errors/package/package_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f00f42d

Please sign in to comment.