diff options
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() |