Skip to content

fix: Typos#76

Merged
Ph0enixKM merged 1 commit intomainfrom
typos
Oct 9, 2025
Merged

fix: Typos#76
Ph0enixKM merged 1 commit intomainfrom
typos

Conversation

@lens0021
Copy link
Contributor

@lens0021 lens0021 commented Oct 8, 2025

typos -w .

error: `negetive` should be `negative`
   ╭▸ ./src/compiling/parser/preset.rs:87:27
   │
87 │ /// Matches a positive or negetive integer.
   ╰╴                          ━━━━━━━━
error: `succesfully` should be `successfully`
  ╭▸ ./src/compiling/parser/pattern.rs:7:26
  │
7 │ /// If token was matched succesfully - the word it contained is returned.
  ╰╴                         ━━━━━━━━━━━
error: `succesfully` should be `successfully`
   ╭▸ ./src/compiling/parser/pattern.rs:30:26
   │
30 │ /// If token was matched succesfully - the word it contained is returned.
   ╰╴                         ━━━━━━━━━━━
error: `succesfully` should be `successfully`
   ╭▸ ./src/compiling/parser/pattern.rs:53:33
   │
53 │ /// If syntax module was parsed succesfully - nothing is returned.
   ╰╴                                ━━━━━━━━━━━
error: `succesfully` should be `successfully`
   ╭▸ ./src/compiling/parser/pattern.rs:86:32
   │
86 │ /// If indentation was matched succesfully - the amount of spaces is returned.
   ╰╴                               ━━━━━━━━━━━
error: `succesfully` should be `successfully`
    ╭▸ ./src/compiling/parser/pattern.rs:107:35
    │
107 │ /// If indentation was identified succesfully return the std::cmp::Ordering
    ╰╴                                  ━━━━━━━━━━━
error: `debuging` should be `debugging`
  ╭▸ ./src/compiling/parser/metadata.rs:8:24
  │
8 │ /// This is useful for debuging or languages that are not too demanding.
  ╰╴                       ━━━━━━━━
error: `substract` should be `subtract`
   ╭▸ ./src/compiling/lexing/lexer.rs:63:12
   │
63 │         // substract with overflow since the new line character
   ╰╴           ━━━━━━━━━
error: `erorr` should be `error`
   ╭▸ ./src/compiling/failing/position_info.rs:38:22
   │
38 │     /// Create a new erorr from scratch
   ╰╴                     ━━━━━
error: `erorr` should be `error`
   ╭▸ ./src/compiling/failing/position_info.rs:49:22
   │
49 │     /// Create a new erorr at the end of file
   ╰╴                     ━━━━━
error: `erorr` should be `error`
   ╭▸ ./src/compiling/failing/position_info.rs:60:22
   │
60 │     /// Create a new erorr at given position
   ╰╴                     ━━━━━
error: `compunds` should be `compounds`
   ╭▸ ./src/compiling/lexing/compound_handler.rs:27:43
   │
27 │             compound_tree: Self::generate_compunds(rules.compounds.clone()),
   ╰╴                                          ━━━━━━━━
error: `recommmended` should be `recommended`
  ╭▸ ./src/compiling/failing/mod.rs:3:10
  │
3 │ //! It's recommmended to use macros for this case, but you can use this module directly.
  ╰╴         ━━━━━━━━━━━━
error: `compunds` should be `compounds`
   ╭▸ ./src/compiling/lexing/compound_handler.rs:34:17
   │
34 │     fn generate_compunds(word_pairs: Vec<(char, char)>) -> HashMap<char, Vec<char>> {
   ╰╴                ━━━━━━━━
error: `infromation` should be `information`
    ╭▸ ./src/compiling/failing/message.rs:137:26
    │
137 │     /* Attach additional infromation */
    ╰╴                         ━━━━━━━━━━━
error: `fisrt` should be `first`
    ╭▸ ./src/compiling/failing/logger.rs:124:37
    │
124 │     // Returns chopped string where fisrt and third part are supposed
    ╰╴                                    ━━━━━
error: `substract` should be `subtract`
    ╭▸ ./src/compiling/failing/logger.rs:160:23
    │
160 │                 // We substract here 2 because 1 is the offset of col (starts at 1)
    ╰╴                      ━━━━━━━━━

@lens0021 lens0021 requested review from Ph0enixKM and b1ek October 8, 2025 05:53
@lens0021 lens0021 self-assigned this Oct 8, 2025
@lens0021 lens0021 requested a review from Mte90 October 8, 2025 05:54
@Ph0enixKM Ph0enixKM merged commit 9007f18 into main Oct 9, 2025
1 check passed
@Ph0enixKM Ph0enixKM deleted the typos branch October 9, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants