]> git.lizzy.rs Git - rust.git/commit
Don't reformat strings if we don't have to.
authorNick Cameron <ncameron@mozilla.com>
Thu, 28 Jan 2016 06:14:08 +0000 (19:14 +1300)
committerNick Cameron <ncameron@mozilla.com>
Thu, 28 Jan 2016 06:14:08 +0000 (19:14 +1300)
commit02302d2800fe33579013a02eb7f1e7188d9a0769
treef06d0924f89d5bfaa94af556b5a1d54bef055e63
parentfb17a44584a77a4ffddc0f8c375a34bed857e979
Don't reformat strings if we don't have to.

Specifically if no line exceeds the allowed width and we aren't moving the string to a new offset
src/config.rs
src/expr.rs
tests/source/string-lit-2.rs [new file with mode: 0644]
tests/source/string-lit.rs
tests/target/string-lit-2.rs [new file with mode: 0644]
tests/target/string-lit.rs