Skip to content

std::Panic::Frame::line

line

Returns the line number where the panic occurred

Signature

line(self) -> usize

Specifiers

  • const

Attributes

  • nodiscard

See Also

Back to Frame