mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-18 14:31:31 +03:00
Merge pull request #1777 from AleoHQ/fix-spelling
Fix typos uncovered by spell checker in VS Code.
This commit is contained in:
commit
4617c3ba35
@ -32,13 +32,13 @@ use std::{
|
||||
/// An identifier in the constrained program.
|
||||
///
|
||||
/// Attention - When adding or removing fields from this struct,
|
||||
/// please remember to update it's Serialize and Deserialize implementation
|
||||
/// please remember to update its Serialize and Deserialize implementation
|
||||
/// to reflect the new struct instantiation.
|
||||
#[derive(Clone)]
|
||||
pub struct Identifier {
|
||||
/// The symbol that the user wrote, e.g., `foo`.
|
||||
pub name: Symbol,
|
||||
/// A span locating where the identifier occured in the source.
|
||||
/// A span locating where the identifier occurred in the source.
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@ macro_rules! strings {
|
||||
([$($acc:expr),*] [$_sym:ident: $string:literal $(,)?]) => {
|
||||
strings!([$($acc,)* $string] [])
|
||||
};
|
||||
// Base case 4): A single identitifier left.
|
||||
// Base case 4): A single identifier left.
|
||||
// So in e.g., `symbols! { x, y }`, this handles `y` with `x` already in `$acc`.
|
||||
([$($acc:expr),*] [$sym:ident $(,)?]) => {
|
||||
strings!([$($acc,)* stringify!($sym)] [])
|
||||
|
Loading…
Reference in New Issue
Block a user