mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
format
This commit is contained in:
parent
71786ee619
commit
a7ac8bfc22
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user