84ac80f192
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
12 lines
273 B
Rust
12 lines
273 B
Rust
// Checks that if the output folder doesn't exist, rustdoc will create it.
|
|
|
|
use std::path::Path;
|
|
|
|
use run_make_support::rustdoc;
|
|
|
|
fn main() {
|
|
let out_dir = Path::new("foo/bar/doc");
|
|
rustdoc().input("foo.rs").output(&out_dir).run();
|
|
assert!(out_dir.exists());
|
|
}
|