mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-18 02:25:25 +00:00
Fix nightly clippy warnings
This commit is contained in:
parent
cb5324d023
commit
46404a4665
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ impl SymbolTable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
pub enum SymbolTableType {
|
pub enum SymbolTableType {
|
||||||
Module,
|
Module,
|
||||||
Class,
|
Class,
|
||||||
|
@ -83,7 +83,7 @@ impl fmt::Display for SymbolTableType {
|
||||||
|
|
||||||
/// Indicator for a single symbol what the scope of this symbol is.
|
/// Indicator for a single symbol what the scope of this symbol is.
|
||||||
/// The scope can be unknown, which is unfortunate, but not impossible.
|
/// 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 {
|
pub enum SymbolScope {
|
||||||
Unknown,
|
Unknown,
|
||||||
Local,
|
Local,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue