aboutsummaryrefslogtreecommitdiff
path: root/nix-rust/src/store/store.rs
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-17 00:18:17 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-12-10 13:37:23 +0100
commitcce218f95050e82587f376d51e5f732d1f68eab3 (patch)
treeff3ef7377ae4d322bc02007d3d7df593ad1b90ed /nix-rust/src/store/store.rs
parenta1ff43045b3f1d075c67c262ff6f623b2b5d569e (diff)
Add base32 encoder/decoder
Diffstat (limited to 'nix-rust/src/store/store.rs')
-rw-r--r--nix-rust/src/store/store.rs2
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()