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
Can I submit a pull request implementing Display on vectors where their type parameter is also Display? And if I can, should I use ⟨1, 0, 0⟩, [1, 0, 0] or (1, 0, 0) for the brackets?
The text was updated successfully, but these errors were encountered:
Tricky thing about the Display impl is it can be pretty context-dependent. Sometimes it's better to make a custom wrapper struct (with its domain-specific impl of Display) that you only use when making other Display implementations.
We could however improve the debug output to make it look prettier? Would that help?
How about modifying the "pretty" Debug output (the one with the # modifier)? Removing the class name from the default debug output might make debugging harder.
Can I submit a pull request implementing
Display
on vectors where their type parameter is alsoDisplay
? And if I can, should I use⟨1, 0, 0⟩
,[1, 0, 0]
or(1, 0, 0)
for the brackets?The text was updated successfully, but these errors were encountered: