We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f356ab commit 1f397bbCopy full SHA for 1f397bb
packages/vm/src/static_analysis.rs
@@ -38,7 +38,7 @@ pub enum Entrypoint {
38
// sort entrypoints by their &str representation
39
impl PartialOrd for Entrypoint {
40
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
41
- self.as_ref().partial_cmp(other.as_ref())
+ Some(self.cmp(other))
42
}
43
44
impl Ord for Entrypoint {
0 commit comments