diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-02-15 20:42:14 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-02-15 20:53:29 +0100 |
commit | 8fb4bcf0c618972bb85da904399a0ddca1b05f6b (patch) | |
tree | c950add2c13585cf6b4c99f9d482b0ad63e987bd /lib | |
parent | 1bbd2173b7d238a7a8b74a0880b869050144e0c6 (diff) |
Fix for new StoreId::new() interface
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/entry/libimagentrymarkdown/src/processor.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/entry/libimagentrymarkdown/src/processor.rs b/lib/entry/libimagentrymarkdown/src/processor.rs index 94b7c7f8..6be62a91 100644 --- a/lib/entry/libimagentrymarkdown/src/processor.rs +++ b/lib/entry/libimagentrymarkdown/src/processor.rs @@ -133,8 +133,7 @@ impl LinkProcessor { continue } - let spath = Some(store.path().clone()); - let id = StoreId::new(spath, PathBuf::from(&link.link))?; + let id = StoreId::new(PathBuf::from(&link.link))?; let mut target = if self.create_internal_targets { store.retrieve(id)? } else { |