You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
The text was updated successfully, but these errors were encountered: