let x =
vec![
(a, b, c, d),
(foo, bar, cat, dog)];
In this, is there a way to get this to align by the ',' ?
let x =
vec![
(a, b, c, d),
(foo, bar, cat, dog)];
In this, is there a way to get this to align by the ',' ?
Except for manually doing it, not in any way I know of.
Is there some directive to tell rust-fmt "don't reformat this block of code" ?
#[rustfmt::skip]
Didn't know that existed. Does it also work as an inner attribute eg in a module?
AFAIK, it should work anywhere attributes are allowed.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.