about summary refs log tree commit diff
path: root/lib/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/lib.rs')
-rw-r--r--lib/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lib.rs b/lib/src/lib.rs
index 54e6ea9..5c095c8 100644
--- a/lib/src/lib.rs
+++ b/lib/src/lib.rs
@@ -36,10 +36,10 @@ pub mod lib {
         }
     }
 
-    //Reverse ordering as priority: 1 is less than priority: 2
+    //Priority 1 is higher than priority 2
     impl Ord for IndexedResource {
         fn cmp(&self, other: &Self) -> Ordering {
-            self.priority.cmp(&other.priority).reverse()
+            self.priority.cmp(&other.priority)
         }
     }