Closed ErikBuer closed 2 years ago
Display
should already have that compact form, but there's a reasonable case to be made for Debug
as well. We did make that change for BigInt
and BigUint
in rust-num/num-bigint#195, but it's somewhat debatable whether that should be considered a breaking change. In that case, I was getting ready for a semver bump anyway.
Yes, I see now. I appreciate the feedback!
Erik.
Hi, I am new to Rust, and open source contribution, so please bear with me..
When debugging arrays of complex numbers i find the formatting to be unnecessarily long, making it hard to see what is going on in the data. See the example below.
I therefore propose to change the debug and display formatting to
a+bi
, e.g.1+2i
.Note that in the example below, Github doesn't wrap the line.
Erik.