Function rustc_span::symbol::sym::integer

source ·
pub fn integer<N: TryInto<usize> + Copy + ToString>(n: N) -> Symbol
Expand description

Get the symbol for an integer.

The first few non-negative integers each have a static symbol and therefore are fast.