From 86e1020bc7373a43c976e61d51dd2d99815e602e Mon Sep 17 00:00:00 2001 From: Talha Qamar Date: Wed, 11 Sep 2024 11:11:46 +0500 Subject: [PATCH] fixed warnings --- dev/src/idl/mod.rs | 4 +--- dev/src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dev/src/idl/mod.rs b/dev/src/idl/mod.rs index 6533bcd..4796333 100644 --- a/dev/src/idl/mod.rs +++ b/dev/src/idl/mod.rs @@ -5,9 +5,7 @@ use std::io::Read; use self::parser::parse; -use { - logos::{Lexer, Logos}, -}; +use logos::Logos; #[derive(Logos, Debug, PartialEq, Clone)] #[logos(skip r"[ \t\n\f]+")] // Ignore this regex pattern between tokens diff --git a/dev/src/main.rs b/dev/src/main.rs index 2ba2c3e..6d1dacf 100644 --- a/dev/src/main.rs +++ b/dev/src/main.rs @@ -117,8 +117,8 @@ fn build(name: String) { } } -pub fn build_program(name: String) {} -pub fn build_library(name: String) {} +pub fn build_program(_name: String) {} +pub fn build_library(_name: String) {} fn help() { println!(