Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit be3b33a

Browse files
committed
Fix jsondoclint tool
1 parent 416ada2 commit be3b33a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/tools/jsondoclint/src/validator.rs

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /