Skip to content

Commit 63b506a

Browse files
committed
Format
1 parent 082df92 commit 63b506a

File tree

1 file changed

+8
-1
lines changed
  • examples/restriction/missing_doc_comment_openai/src

1 file changed

+8
-1
lines changed

examples/restriction/missing_doc_comment_openai/src/lib.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,14 @@ impl<'tcx> LateLintPass<'tcx> for MissingDocCommentOpenai {
160160
}
161161

162162
// smoelius: Only enable for functions for now.
163-
let ItemKind::Fn(FnSig { span: fn_sig_span, ..}, _, _) = item.kind else {
163+
let ItemKind::Fn(
164+
FnSig {
165+
span: fn_sig_span, ..
166+
},
167+
_,
168+
_,
169+
) = item.kind
170+
else {
164171
return;
165172
};
166173

0 commit comments

Comments
 (0)