fix lints on rust 1.89 (#4587)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-08-19 19:34:13 -07:00
1 parent 27bae6fbb7
commit 9ec474962b
16 files changed
+48 -37

No files matched your search

+1 -1
View File
@@ -401,7 +401,7 @@ struct DocField<'a> {
input_arg_doc: String,
}
fn build_doc_fields(f: &FnArg) -> Option<DocField> {
fn build_doc_fields(f: &FnArg) -> Option<DocField<'_>> {
let FnArg::Typed(pt) = f else { unreachable!() };
let arg_doc = pt
+1 -1
View File
@@ -197,7 +197,7 @@ mod field_info {
ordinal: usize,
field: &syn::Field,
field_defaults: FieldBuilderAttr,
) -> Result<FieldInfo, Error> {
) -> Result<FieldInfo<'_>, Error> {
if let Some(ref name) = field.ident {
let mut builder_attr = field_defaults.with(&field.attrs)?;