Skip to content

Commit 55df804

Browse files
committed
Derive common traits for ListSelector
The most important is `Clone` which would quite useful in Scarb. Adding other traits for future proofing. commit-id:62d67621
1 parent 0e81e72 commit 55df804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cairo-lang-starknet/src/allowed_libfuncs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub enum AllowedLibfuncsError {
3333
}
3434

3535
/// A selector for the allowed libfunc list.
36-
#[derive(Default)]
36+
#[derive(Clone, Debug, Default, Eq, PartialEq)]
3737
pub enum ListSelector {
3838
/// A list with one of the predefined names.
3939
ListName(String),

0 commit comments

Comments
 (0)