~matthiasbeyer/imag

19a1c41924c25a4e268e83d715b92e8e1737d39a — flip1995 2 years ago 1569442
[Auto] lib/entry/url: Fix Clippy warnings

Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2 files changed, 2 insertions(+), 2 deletions(-)

M lib/entry/libimagentryurl/src/link.rs
M lib/entry/libimagentryurl/src/linker.rs
M lib/entry/libimagentryurl/src/link.rs => lib/entry/libimagentryurl/src/link.rs +1 -1
@@ 70,7 70,7 @@ impl Link for Entry {
            .context(format_err!("Error reading header 'url.uri' from '{}'", self.get_location()))
            .context(EM::EntryHeaderReadError)
            .map_err(Error::from)?
            .unwrap_or_else(|| Default::default());
            .unwrap_or_else(Default::default);

        debug!("Partial deserialized: {:?}", partial);


M lib/entry/libimagentryurl/src/linker.rs => lib/entry/libimagentryurl/src/linker.rs +1 -1
@@ 113,7 113,7 @@ impl UrlLinker for Entry {
            file.set_url(link)?;

            // then add an internal link to the new file or return an error if this fails
            let _ = self.add_link(&mut file)?;
            self.add_link(&mut file)?;
            debug!("Added linking: {:?} <-> {:?}", self.get_location(), file.get_location());

            Ok((link_already_exists, file_id))