Remove unused keyword "mut"
This commit is contained in:
parent
c9086e9850
commit
c37ca59eef
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ impl ExternalLinker for Entry {
|
||||||
fn remove_external_link(&mut self, store: &Store, link: Url) -> Result<()> {
|
fn remove_external_link(&mut self, store: &Store, link: Url) -> Result<()> {
|
||||||
// get external links, remove this one, save them
|
// get external links, remove this one, save them
|
||||||
self.get_external_links(store)
|
self.get_external_links(store)
|
||||||
.and_then(|mut links| {
|
.and_then(|links| {
|
||||||
debug!("Removing link = '{:?}' from links = {:?}", link, links);
|
debug!("Removing link = '{:?}' from links = {:?}", link, links);
|
||||||
let links = links.into_iter()
|
let links = links.into_iter()
|
||||||
.filter(|l| l.serialize() != link.serialize())
|
.filter(|l| l.serialize() != link.serialize())
|
||||||
|
|
Loading…
Reference in a new issue