How to always get a line space between functions and similar? #5992
Replies: 1 comment 2 replies
-
Maybe Note Running with fn foo() {
println!("Hello");
}
fn main() {
println!("Hello Main!");
} Produces this output: fn foo() {
println!("Hello");
}
fn main() {
println!("Hello Main!");
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to
rust
and I usevscode
. I found it nice it can keep the code mostly properly formatted.For example, if I put two space lines between the functions below, when saving, this is immediately rectified.
However, if remove the space line, the format accepts that but I don't like this!
How can I enforce always a space (one line space) between functions and similar?
Beta Was this translation helpful? Give feedback.
All reactions