diff options
author | Raghav Narang <dev@raxyte.com> | 2024-04-14 18:49:28 +0530 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-05-05 18:09:04 +0200 |
commit | ea175b2d6f09efb77bdeb690dea9cac232a412e1 (patch) | |
tree | cacc01b1763935874785caef6c8bc8c40a0ca883 /Documentation | |
parent | 84373132b831784d3a833a25cdf8a3d6b465d839 (diff) |
rust: update `dbg!()` to format column number
In Rust 1.76.0, the `dbg!()` macro was updated to also format the column
number. The reason cited was usage of a few characters worth of
horizontal space while allowing direct jumps to the source location. [1]
Link: https://github.com/rust-lang/rust/pull/114962 [1]
Link: https://github.com/Rust-for-Linux/linux/issues/1065
Signed-off-by: Raghav Narang <dev@raxyte.com>
Reviewed-by: Trevor Gross <tmgross@umich.edu>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://lore.kernel.org/r/eba70259-9b10-4bf7-ac4f-d7accf6b8891@smtp-relay.sendinblue.com
[ Fixed commit author name and removed spurious newline in message. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions