☰
In clippy_utils
?
Function
clippy_utils
::
get_parent_node
source
·
[
−
]
pub fn get_parent_node(tcx:
TyCtxt
<'_>, id:
HirId
) ->
Option
<
Node
<'_>>
Expand description
Gets the parent node, if any.