Skip to content

Commit f87ddac

Browse files
committed
Fix jsondoclint tool
1 parent 6f77f02 commit f87ddac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/jsondoclint/src/validator.rs

+1
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ impl<'a> Validator<'a> {
262262
Type::DynTrait(dyn_trait) => self.check_dyn_trait(dyn_trait),
263263
Type::Generic(_) => {}
264264
Type::Primitive(_) => {}
265+
Type::Pat { type_, pat: _ } => self.check_type(type_),
265266
Type::FunctionPointer(fp) => self.check_function_pointer(&**fp),
266267
Type::Tuple(tys) => tys.iter().for_each(|ty| self.check_type(ty)),
267268
Type::Slice(inner) => self.check_type(&**inner),

0 commit comments

Comments
 (0)