about summary refs log tree commit diff
diff options
context:
space:
mode:
authormaxcabrajac <max@cabrajac.com>2024-11-12 21:57:25 -0300
committermaxcabrajac <max@cabrajac.com>2024-11-12 21:57:25 -0300
commita7ac8bfc22b441004bfb96311677ea807f3a5613 (patch)
tree3a05b26403817ae6acacd41068758b93c4f9fa4c
parent71786ee619cf451599ac28e608393e214d9c2148 (diff)
downloadrust-a7ac8bfc22b441004bfb96311677ea807f3a5613.tar.gz
rust-a7ac8bfc22b441004bfb96311677ea807f3a5613.zip
format
-rw-r--r--compiler/rustc_ast/src/visit.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_ast/src/visit.rs b/compiler/rustc_ast/src/visit.rs
index ddcb0cef3d1..a4105009d86 100644
--- a/compiler/rustc_ast/src/visit.rs
+++ b/compiler/rustc_ast/src/visit.rs
@@ -820,10 +820,7 @@ pub fn walk_fn_ret_ty<'a, V: Visitor<'a>>(visitor: &mut V, ret_ty: &'a FnRetTy)
     V::Result::output()
 }
 
-pub fn walk_fn_header<'a, V: Visitor<'a>>(
-    visitor: &mut V,
-    fn_header: &'a FnHeader
-) -> V::Result {
+pub fn walk_fn_header<'a, V: Visitor<'a>>(visitor: &mut V, fn_header: &'a FnHeader) -> V::Result {
     let FnHeader { safety: _, coroutine_kind, constness: _, ext: _ } = fn_header;
     visit_opt!(visitor, visit_coroutine_kind, coroutine_kind.as_ref());
     V::Result::output()