Skip to content

Commit a7ac8bf

Browse files
committed
format
1 parent 71786ee commit a7ac8bf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: compiler/rustc_ast/src/visit.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -820,10 +820,7 @@ pub fn walk_fn_ret_ty<'a, V: Visitor<'a>>(visitor: &mut V, ret_ty: &'a FnRetTy)
820820
V::Result::output()
821821
}
822822

823-
pub fn walk_fn_header<'a, V: Visitor<'a>>(
824-
visitor: &mut V,
825-
fn_header: &'a FnHeader
826-
) -> V::Result {
823+
pub fn walk_fn_header<'a, V: Visitor<'a>>(visitor: &mut V, fn_header: &'a FnHeader) -> V::Result {
827824
let FnHeader { safety: _, coroutine_kind, constness: _, ext: _ } = fn_header;
828825
visit_opt!(visitor, visit_coroutine_kind, coroutine_kind.as_ref());
829826
V::Result::output()

0 commit comments

Comments
 (0)