mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-30 07:08:14 +00:00
Add utilities to enum (#44)
* Add utilities to enum * Fix unexpected pyo3 dependency propagation
This commit is contained in:
parent
3bdf8a940a
commit
ff17f6e178
9 changed files with 33 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
|
||||
#[derive(Debug, PartialEq, Eq, Copy, Clone, Hash, is_macro::Is)]
|
||||
pub enum Quote {
|
||||
Single,
|
||||
Double,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#[derive(Debug, PartialEq, Clone, Copy)]
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Copy, is_macro::Is, Hash)]
|
||||
pub enum Case {
|
||||
Lower,
|
||||
Upper,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue