Skip to content

Commit 1f397bb

Browse files
committed
Fix lint
1 parent 5f356ab commit 1f397bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vm/src/static_analysis.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub enum Entrypoint {
3838
// sort entrypoints by their &str representation
3939
impl PartialOrd for Entrypoint {
4040
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
41-
self.as_ref().partial_cmp(other.as_ref())
41+
Some(self.cmp(other))
4242
}
4343
}
4444
impl Ord for Entrypoint {

0 commit comments

Comments
 (0)