mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
bump email-lib
This commit is contained in:
parent
46bf3eebfc
commit
a8e6dea162
2 changed files with 2 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1218,7 +1218,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "email-lib"
|
||||
version = "0.22.3"
|
||||
source = "git+https://git.sr.ht/~soywod/pimalaya#17838306e588fd1382da4b49ec1ed9ff846f33f0"
|
||||
source = "git+https://git.sr.ht/~soywod/pimalaya#2ddfe15f9b10e8e53ab9b04db465abc58c68b67e"
|
||||
dependencies = [
|
||||
"advisory-lock",
|
||||
"anyhow",
|
||||
|
|
|
@ -102,13 +102,12 @@ impl ListEnvelopesCommand {
|
|||
let query = self
|
||||
.query
|
||||
.map(|query| query.join(" ").parse::<SearchEmailsQuery>());
|
||||
|
||||
let query = match query {
|
||||
None => None,
|
||||
Some(Ok(query)) => Some(query),
|
||||
Some(Err(main_err)) => {
|
||||
let source = "query";
|
||||
let email::search_query::Error::ParseError(errs, query) = &main_err;
|
||||
let email::search_query::parser::Error::ParseError(errs, query) = &main_err;
|
||||
for err in errs {
|
||||
Report::build(ReportKind::Error, source, err.span().start)
|
||||
.with_message(main_err.to_string())
|
||||
|
|
Loading…
Reference in a new issue