fix lints on rust 1.89 (#4587)
This commit is contained in:
1 parent
27bae6fbb7
commit
9ec474962b
16 files changed
+48
-37
No files matched your search
@@ -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
|
||||
|
||||
@@ -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)?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user