Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust formatting #9

Closed
rofrol opened this issue Jan 15, 2020 · 5 comments
Closed

Rust formatting #9

rofrol opened this issue Jan 15, 2020 · 5 comments

Comments

@rofrol
Copy link
Contributor

rofrol commented Jan 15, 2020

I see that you have some formatting rules for Rust in examples.

Can you commit them to the repo?

https://github.com/rust-lang/rustfmt/blob/master/Configurations.md

@sotrh
Copy link
Owner

sotrh commented Jan 21, 2020

I'm actually not using rustfmt at all right now. I'm fairly new to Rust, so I wasn't aware it existed

@rofrol
Copy link
Contributor Author

rofrol commented Jan 21, 2020

You can look at my neovim/vim configuration for autosaving https://github.com/rofrol/dotfiles/blob/301e4a414cc523c0c4544baf2c3dfb58ce95cf2f/.config/nvim/init.vim#L45

@rofrol
Copy link
Contributor Author

rofrol commented Jan 21, 2020

And thanks for your great work ❤️

@rofrol
Copy link
Contributor Author

rofrol commented Jan 21, 2020

You can also format all files with cargo fmt

@rofrol
Copy link
Contributor Author

rofrol commented Jan 21, 2020

Fixed (?) by #11

@rofrol rofrol closed this as completed Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants