aboutsummaryrefslogtreecommitdiff
path: root/src/searchresult.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-07-25 22:21:25 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-07-25 22:21:25 +0200
commite1cb45be6575c805e3b0ab1e2d03d4047acf88d1 (patch)
treef2671f209de7a8217f148f7ec9f580c1789eb7ab /src/searchresult.rs
parent149e0b6ae9871515be21f23b492f5ef7355e2ca4 (diff)
make it use less ram using packed structs
Diffstat (limited to 'src/searchresult.rs')
-rw-r--r--src/searchresult.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/searchresult.rs b/src/searchresult.rs
index 23e8d02..0630791 100644
--- a/src/searchresult.rs
+++ b/src/searchresult.rs
@@ -2,6 +2,6 @@
/// function.
#[derive(Debug, Clone)]
pub struct SearchResult {
- pub priority : u64,
+ pub priority : u32,
pub path : String
}