Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vanilla-extracts committed May 14, 2024
1 parent 720ca8c commit ddc4b49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ fn main() {
exit(0);
}


if arg_final == "-u" || arg_final == "--update" {
if cfg!(target_os = "windows") {
Command::new("cmd")
Expand All @@ -311,7 +310,6 @@ fn main() {
exit(0);
}


let lexed = lex(arg_final);
let mut parser = init_calc_parser(&lexed);
let parsed = parser.parse();
Expand Down
2 changes: 1 addition & 1 deletion src/parsing/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl Parameters {
#[cfg(test)]
mod test {
use crate::parsing::ast::{Ast, Parameters};

impl Ast {
pub fn new(p: Parameters) -> Self {
Ast::Node {
Expand Down

0 comments on commit ddc4b49

Please sign in to comment.