Skip to main content

is_present_in_source

Function is_present_in_source 

Source
pub fn is_present_in_source<'sm>(sm: impl HasSourceMap<'sm>, span: Span) -> bool
Expand description

Checks whether the code snippet referred to by the given [Span] is present in the source code.