mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
ruff_python_ast: Make Singleton Copy (#14943)
## Summary Minor changed pulled out from #14759, as it seems to make sense in isolation. ## Test Plan —
This commit is contained in:
@@ -4061,7 +4061,7 @@ impl Ranged for Identifier {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub enum Singleton {
|
||||
None,
|
||||
True,
|
||||
|
||||
Reference in New Issue
Block a user