From 55953cfe5b4beb8df4cd010b7d7c16cfbd6c2626 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 7 Aug 2016 16:49:04 +0200 Subject: [PATCH] Rewrite AsRef for StoreId --- libimagstore/src/storeid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/storeid.rs b/libimagstore/src/storeid.rs index d4f49534..7b2a8546 100644 --- a/libimagstore/src/storeid.rs +++ b/libimagstore/src/storeid.rs @@ -90,7 +90,7 @@ impl From for StoreId { impl AsRef for StoreId { fn as_ref(&self) -> &Path { - self.0.as_ref() + self.id.as_ref() } }