about summary refs log tree commit diff
path: root/lib/src/lib.rs
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-30 13:01:39 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-30 13:08:28 +0100
commit3681dc443116a8f3b48595fea3d584187bef3599 (patch)
tree32be1c887422138d12cfd2b20f3432303c5d8aef /lib/src/lib.rs
parentMisc: Add local lib crate to share common structs (diff)
downloadOSSE-3681dc443116a8f3b48595fea3d584187bef3599.tar.gz
OSSE-3681dc443116a8f3b48595fea3d584187bef3599.tar.bz2
OSSE-3681dc443116a8f3b48595fea3d584187bef3599.zip
Misc: Remove unneeded dependencies
Diffstat (limited to 'lib/src/lib.rs')
-rw-r--r--lib/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/src/lib.rs b/lib/src/lib.rs
index a11637f..2f0b750 100644
--- a/lib/src/lib.rs
+++ b/lib/src/lib.rs
@@ -1,4 +1,5 @@
 pub mod lib {
+
     use serde::{Serialize,Deserialize};
     use std::sync::Arc;
     use std::hash::{Hash, Hasher};
@@ -33,6 +34,7 @@ pub mod lib {
         }
     }
 
+    //Reverse ordering as priority: 1 is less than priority: 2
     impl Ord for IndexedResource {
         fn cmp(&self, other: &Self) -> Ordering {
             self.priority.cmp(&other.priority).reverse()
@@ -46,5 +48,4 @@ pub mod lib {
         }
     }
 
-
 }
\ No newline at end of file