parent
b8f490587f
commit
a83e813933
@ -216,7 +216,8 @@ fn main() {
|
|||||||
Ok(pfetch_infos) => pfetch_infos
|
Ok(pfetch_infos) => pfetch_infos
|
||||||
.trim()
|
.trim()
|
||||||
.split(' ')
|
.split(' ')
|
||||||
.map(|info| PfetchInfo::from_str(info).unwrap())
|
.map(PfetchInfo::from_str)
|
||||||
|
.filter_map(|i| i.ok())
|
||||||
.collect(),
|
.collect(),
|
||||||
Err(_) => vec![
|
Err(_) => vec![
|
||||||
PfetchInfo::Ascii,
|
PfetchInfo::Ascii,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user