diff options
Diffstat (limited to 'src/vector.rs')
| -rw-r--r-- | src/vector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.rs b/src/vector.rs index 87be04b..dfd2d71 100644 --- a/src/vector.rs +++ b/src/vector.rs @@ -34,7 +34,7 @@ impl FileVector { Self { data : HashMap::new() } } - pub fn from_string(hex : String) -> Self { + pub fn from_string(hex : &str) -> Self { let mut data : HashMap<u64, u64> = HashMap::new(); let data_chunks : Vec<&str> = hex.split(' ').collect(); |