mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
a308ab8879
core docs: rewrite `panic::Location::caller` with visual line/column numbers no tracking issue hey, this is my first PR on rust-lang/rust, so hopefully everything goes well. i noticed the documentation for `core::panic::Location::caller` was kind of unintelligible (and maybe even wrong due to standalone_crate) and filled with magic numbers, so i provided line and column numbers as a visual guidance as to how it should be used. edit: uh oh, looks like i pushed changes from random commits unrelated to me, what's going on? edit2: reverted the unintended changes by this pr