pub fn spans_join(spans: impl IntoIterator<Item = Span>) -> Option<Span>Expand description
Returns a span covering the inputs
Sometimes this isn’t possible (see Span::join,
in which case prefers the span of the final component.
Returns Some iff the iterator was nonempty.