Derive PartialOrd and Ord for Variable. r=jsantell
This commit is contained in:
parent
1122960462
commit
1aa33423dc
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ pub use edn::{NamespacedKeyword, PlainSymbol};
|
|||
|
||||
pub type SrcVarName = String; // Do not include the required syntactic '$'.
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||
pub struct Variable(pub PlainSymbol);
|
||||
|
||||
pub trait FromValue<T> {
|
||||
|
|
Loading…
Reference in a new issue