diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-06 13:49:30 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-06 13:49:30 +0200 |
| commit | 8799c886003d5eb0084589776ccafea809c451ff (patch) | |
| tree | ef326b37d5300e272c2d591f6fbf3dee7f1c622c /src/filecache.rs | |
| parent | d49ea4337418ad21015651a8e021f912b9a3bc7f (diff) | |
filevector rename to_hex -> to_string
Diffstat (limited to 'src/filecache.rs')
| -rw-r--r-- | src/filecache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filecache.rs b/src/filecache.rs index c584c0b..5e9d324 100644 --- a/src/filecache.rs +++ b/src/filecache.rs @@ -8,7 +8,7 @@ pub struct FileCache { impl FileCache { pub fn from_line(line : String) -> Self { let ls : Vec<String> = line.split(',').map(|s| s.to_string()).collect(); - let v = FileVector::from_hex(ls[1].clone()); + let v = FileVector::from_string(ls[1].clone()); let p = ls[0].clone().replace("\0", ","); Self { vector : v, |