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

Format code using 'cargo fmt' #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Atul9
Copy link

@Atul9 Atul9 commented Sep 12, 2019

No description provided.

where
K: Key + Into<Option<PathBuf>>,
T: 'static + for<'de> Deserialize<'de>,
{
Copy link
Owner

@hadronized hadronized Sep 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you can find a way to use rustfmt to have that curly brace on the line just above, I would happily merge! :

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phaazon I am new to rust. I found that brace_style doesn’t respect PreferSameLine and its an open issue in rustfmt itself - rust-lang/rustfmt#3299 which is opened by you. Can you please guide me about how to go about this?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t really know what to do to fix this, besides fixing it on my own (or anyone who would like to).

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

Successfully merging this pull request may close these issues.

2 participants