-
Notifications
You must be signed in to change notification settings - Fork 156
cows, cows everywhere #715
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
Conversation
Hm. Looks like "Inflect::to_snake_case" =/= "convert_case::Case::Snake" let string = "_1P8_READY";
assert_eq!(string.to_snake_case(), string.to_case(Case::Snake));
|
ci/svd2rust-regress/src/main.rs
Outdated
list: bool, | ||
|
||
/// Path to an `rustfmt` binary, relative or absolute. | ||
/// Defaults to `$(rustup which rustfmt)` | ||
#[structopt(long = "rustfmt_bin_path", parse(from_os_str))] | ||
#[clap(long = "rustfmt_bin_path")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[clap(long = "rustfmt_bin_path")] | |
#[clap(long)] |
svd2rust
used, with structopt
, snake case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the flag should be --rustfmt-bin-path
not --rustfmt_bin_path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, rebased
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
No description provided.