mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
ee95b6f3b1
commit
4d5eb57c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ impl Mgr {
|
||||||
let updates = opt
|
let updates = opt
|
||||||
.updates
|
.updates
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|(url, mime)| (Url::from(url.into_owned()), mime))
|
.map(|(url, mime)| (Url::from(url.as_ref()), mime))
|
||||||
.filter(|(url, mime)| self.mimetype.by_url(url) != Some(mime))
|
.filter(|(url, mime)| self.mimetype.by_url(url) != Some(mime))
|
||||||
.fold(HashMap::new(), |mut map, (u, m)| {
|
.fold(HashMap::new(), |mut map, (u, m)| {
|
||||||
for u in linked.from_file(&u) {
|
for u in linked.from_file(&u) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue