From 46404a4665945f1a3eb8f0f9af41e11ec1f61eec Mon Sep 17 00:00:00 2001 From: Jeong Yunwon Date: Fri, 24 Jun 2022 01:13:32 +0900 Subject: [PATCH] Fix nightly clippy warnings --- src/symboltable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/symboltable.rs b/src/symboltable.rs index 74305ea..9a216cd 100644 --- a/src/symboltable.rs +++ b/src/symboltable.rs @@ -62,7 +62,7 @@ impl SymbolTable { } } -#[derive(Debug, Clone, Copy, PartialEq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum SymbolTableType { Module, Class, @@ -83,7 +83,7 @@ impl fmt::Display for SymbolTableType { /// Indicator for a single symbol what the scope of this symbol is. /// The scope can be unknown, which is unfortunate, but not impossible. -#[derive(Debug, Clone, Copy, PartialEq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum SymbolScope { Unknown, Local,