1
0
Fork 0
forked from AbleOS/ableos

fixed warnings

This commit is contained in:
Talha Qamar 2024-09-11 11:11:46 +05:00
parent 39f7d5aba4
commit 86e1020bc7
2 changed files with 3 additions and 5 deletions

View file

@ -5,9 +5,7 @@ use std::io::Read;
use self::parser::parse; use self::parser::parse;
use { use logos::Logos;
logos::{Lexer, Logos},
};
#[derive(Logos, Debug, PartialEq, Clone)] #[derive(Logos, Debug, PartialEq, Clone)]
#[logos(skip r"[ \t\n\f]+")] // Ignore this regex pattern between tokens #[logos(skip r"[ \t\n\f]+")] // Ignore this regex pattern between tokens

View file

@ -117,8 +117,8 @@ fn build(name: String) {
} }
} }
pub fn build_program(name: String) {} pub fn build_program(_name: String) {}
pub fn build_library(name: String) {} pub fn build_library(_name: String) {}
fn help() { fn help() {
println!( println!(