Upgrade yap to 0.10.0
This commit is contained in:
parent
12537c19ac
commit
486ecc2b68
@ -19,7 +19,7 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||
headers = "0.3"
|
||||
ruma-common = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
yap = "0.8.0"
|
||||
yap = "0.10.0"
|
||||
|
||||
[dev-dependencies]
|
||||
tracing-subscriber = "0.3.16"
|
||||
|
@ -136,7 +136,7 @@ fn parse_xmatrix_field<'a>(tokens: &mut impl Tokens<Item = &'a u8>) -> Option<(S
|
||||
|
||||
fn parse_xmatrix<'a>(tokens: &mut impl Tokens<Item = &'a u8>) -> Option<XMatrix> {
|
||||
tokens.optional(|t| {
|
||||
if !t.tokens(b"X-Matrix ".into_tokens()) {
|
||||
if !t.tokens(b"X-Matrix ") {
|
||||
debug!("Failed to parse X-Matrix credentials, didn't start with 'X-Matrix '");
|
||||
return None;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user