pub fn as_comment(ref_node: &RefNode) -> Result<RefComment<'_>>
Expand description
Safely cast the specified RefNode
into a Ref type.
pub fn as_comment(ref_node: &RefNode) -> Result<RefComment<'_>>
Safely cast the specified RefNode
into a Ref type.