Remove unused keyword "mut"

This commit is contained in:
Matthias Beyer 2016-04-16 22:04:08 +02:00
parent c9086e9850
commit c37ca59eef

View file

@ -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())