[][src]Function rslint_core::util::token_list_range

pub fn token_list_range<I>(items: I) -> TextRange where
    I: IntoIterator,
    I::Item: Borrow<SyntaxToken>, 

Get the range represented by a list of tokens.

Panics

Panics if the items is an empty iterator.