chore(third_party/sources): Update

- Apply new clippy lints

Change-Id: I4beb7c0b4d92a2cdcfcb6fa89d24cade2379a5b7
Reviewed-on: https://cl.snix.dev/c/snix/+/30121
Tested-by: besadii
Reviewed-by: Florian Klink <flokli@flokli.de>
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
Ilan Joselevich 2025-03-18 21:28:05 +00:00 committed by clbot
parent 426ad05c99
commit dd1ba855e2
5 changed files with 24 additions and 29 deletions

View file

@ -16,12 +16,7 @@ impl Context {
}
pub fn syn_error(&self, error: syn::Error) {
self.errors
.borrow_mut()
.as_mut()
.take()
.unwrap()
.push(error);
self.errors.borrow_mut().as_mut().unwrap().push(error);
}
pub fn error_spanned<T: ToTokens, D: fmt::Display>(&self, tokens: T, message: D) {