This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
b552eb9e3a
rust
/
tests
/
target
/
issue-3132.rs
16 lines
157 B
Rust
Raw
Normal View
History
Unescape
Escape
refactor: switch idempotence/system tests to style_edition Updates all the various files utilized in the system and idempotence tests to directly use the corresponding 'style_edition' configuration as opposed to keeping the original 'version' values and relying on the mapping.
2024-07-19 18:25:11 -05:00
// rustfmt-style_edition: 2024
version-gate the formatting of commented strings
2019-01-16 16:06:28 -06:00
The method trim_left_preserve_layout didn't handle tabs properly. This is fixed by taking the method macros::indent_macro_snippet which essentially does the same: it indents a paragraph while preserving the layout.
2018-10-29 19:09:09 -05:00
fn
test
(
)
{
/*
a
*
/
let
x
=
42
;
/*
recognize strings inside comments in order to avoid indenting them Close #3270
2019-01-10 07:25:07 -06:00
aaa
"
line 1
line
2
line
3
"
*
/
The method trim_left_preserve_layout didn't handle tabs properly. This is fixed by taking the method macros::indent_macro_snippet which essentially does the same: it indents a paragraph while preserving the layout.
2018-10-29 19:09:09 -05:00
let
x
=
42
;
}
Reference in New Issue
Copy Permalink