diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-17 00:18:17 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-12-10 13:37:23 +0100 |
commit | cce218f95050e82587f376d51e5f732d1f68eab3 (patch) | |
tree | ff3ef7377ae4d322bc02007d3d7df593ad1b90ed /nix-rust/src/store/store.rs | |
parent | a1ff43045b3f1d075c67c262ff6f623b2b5d569e (diff) |
Add base32 encoder/decoder
Diffstat (limited to 'nix-rust/src/store/store.rs')
-rw-r--r-- | nix-rust/src/store/store.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-rust/src/store/store.rs b/nix-rust/src/store/store.rs index ceaed6648..32949a078 100644 --- a/nix-rust/src/store/store.rs +++ b/nix-rust/src/store/store.rs @@ -12,7 +12,7 @@ pub struct StorePath { pub const STORE_PATH_HASH_CHARS: usize = 32; impl StorePath { - pub fn new(path: &Path, store_dir: &str) -> Result<Self, Error> { + pub fn new(path: &Path, _store_dir: &str) -> Result<Self, Error> { // FIXME: check store_dir Self::new_short( path.file_name() |