]> git.lizzy.rs Git - rust.git/commit
use contains_comment instead of an ad-hoc check for "//"
authorChristopher Armstrong <radix@twistedmatrix.com>
Fri, 16 Feb 2018 20:14:02 +0000 (14:14 -0600)
committerChristopher Armstrong <radix@twistedmatrix.com>
Fri, 16 Feb 2018 20:14:34 +0000 (14:14 -0600)
commitb2d57b927ebaa96a83c4627f1ea69585b19f8266
tree636eb4bb5acc90df3fff47a85c21ff5863105693
parentf5c46559d6fc86ddc16017850ac9f70e932e3d29
use contains_comment instead of an ad-hoc check for "//"
rustfmt-core/src/items.rs