rustdoc-prettier 0.7.1

Format //! and /// comments with prettier
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[test]
fn clippy() {
    for disallow_elaborate_methods in [false, true] {
        let mut command = assert_cmd::Command::new("cargo");
        command.args([
            "+nightly",
            "clippy",
            "--all-targets",
            "--",
            "--deny=warnings",
        ]);
        if disallow_elaborate_methods {
            command.env("CLIPPY_CONF_DIR", "assets/elaborate");
        }
        command.assert().success();
    }
}