Skip to content

Commit

Permalink
[documentation] Fixing the xclippy command
Browse files Browse the repository at this point in the history
The cargo specific argument "--all-features" (which is not supported
by xclippy) was provided instead of "--all-targets".

This should be the only occurence.
  • Loading branch information
villesundell authored and bors-libra committed Dec 18, 2020
1 parent 359c5e0 commit ed61ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/coding_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ diem$ cargo xfmt
[Clippy](https://github.com/rust-lang/rust-clippy) is used to catch common mistakes and is run as a part of continuous integration. Before submitting your code for review, you can run clippy with our configuration:

```
diem$ cargo xclippy --all-features
diem$ cargo xclippy --all-targets
```

In general, we follow the recommendations from [rust-lang-nursery](https://rust-lang-nursery.github.io/api-guidelines/about.html) and [The Rust Programming Language](https://doc.rust-lang.org/book/). The remainder of this guide provides detailed guidelines on specific topics in order to achieve uniformity of the codebase.
Expand Down

0 comments on commit ed61ed3

Please sign in to comment.